set one field can not be seen by user but admin

Author Message

kevin wei

Friday 22 October 2004 6:26:22 pm

1. when creat a field during creating the class, there are a checkbox can control this field only can be visible to admin. so when user edit info in frontpage this field will not display. and admin can modify the value of this field in backend.

such as in bug report, users do not need to care the status (open,pending,close), but admin can set it according the current status.

2. in shop module, how can user see his order, and how admin set his order's status to (open,pending,delivering,close),so the user can know how it is going on with his order.

Balazs Halasy

Friday 22 October 2004 11:56:57 pm

1)
This can be achieved by setting up your user-side/public templates so that they do not show the attributes that should only be allowed for admin. There is unfortunately no control for this (by the way of checkboxes) in the class edit page.

2)
To view an order, fire up the following URL:
www.example.com/index.php/shop/orderview/<ordernumber>

...where ordernumber is the ID of the order.

As far as I know, we do not have a status for the orders at this time.

Balazs

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.