2 suggestion !

Author Message

Selmah Maxim

Tuesday 03 June 2003 6:18:41 am

Hi ..

1. What if you add to all datatype 2 checkbox, 1st if active then this input just for admin users, and 2nd for editors editors, and one of them is checked then user cann`t see it in the object sort, this useful if admin or aditor wanna hide some option from normal users or editors, such artical or pageinfo activation checkbox .

2. Since version 3.0.1 to ver. 3.1.0.1 i had creat the same class, which include more than 40 input, really will be great if there are option to export class, and import class.

Jan Borsodi

Tuesday 03 June 2003 7:35:40 am

1.
This is too specific to add as a default functionality.
There's also the problem to specify who is an admin and who is an editor. All access is defined by roles and the role names only have meaning to humans, for instance which policy should a user have to be declared admin or editor.

Besides it can be done by creating custom edit templates (like we've done on ez.no) you then check if a user is part of a specific role (by id) and then show/hide som input fields.

2.
Export/import of classes and objects are planned but there's not been any time left to do it yet. We will see if we get the time to do it for a 3.2 or 3.3 release.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Selmah Maxim

Tuesday 03 June 2003 8:27:15 am

about point 1, that what i have done, but based on group id ;)
and it`s take alot of time to write for 17 editor option, 6 admin option :)

and bout point 2, all ezp waiting it .. ithink :)

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

eZ debug

Timing: Jan 18 2025 05:14:22
Script start
Timing: Jan 18 2025 05:14:22
Module start 'layout'
Timing: Jan 18 2025 05:14:22
Module start 'content'
Timing: Jan 18 2025 05:14:22
Module end 'content'
Timing: Jan 18 2025 05:14:22
Script end

Main resources:

Total runtime0.6504 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.9063152.6094
Module start 'layout' 0.00590.0040 741.515639.4063
Module start 'content' 0.00990.6390 780.9219530.8984
Module end 'content' 0.64890.0014 1,311.820312.2031
Script end 0.6503  1,324.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.6164160.0003
Check MTime0.00180.2760160.0001
Mysql Total
Database connection0.00100.158810.0010
Mysqli_queries0.582989.6266570.0102
Looping result0.00060.0995550.0000
Template Total0.611994.120.3060
Template load0.00200.304920.0010
Template processing0.609993.778520.3050
Template load and register function0.00020.026610.0002
states
state_id_array0.00100.155110.0010
state_identifier_array0.00100.155120.0005
Override
Cache load0.00160.2501180.0001
Sytem overhead
Fetch class attribute can translate value0.00190.297820.0010
Fetch class attribute name0.00300.466340.0008
XML
Image XML parsing0.00180.275920.0009
class_abstraction
Instantiating content class attribute0.00000.002240.0000
General
dbfile0.00190.2936170.0001
String conversion0.00000.001840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs