Forums / Suggestions / 2 suggestion !

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 :)

eZ debug

Timing: Jan 18 2025 04:09:00
Script start
Timing: Jan 18 2025 04:09:00
Module start 'content'
Timing: Jan 18 2025 04:09:00
Module end 'content'
Timing: Jan 18 2025 04:09:00
Script end

Main resources:

Total runtime0.1406 sec
Peak memory usage4,096.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.7109180.8516
Module start 'content' 0.00610.0045 769.562593.8125
Module end 'content' 0.01060.1299 863.3750523.8906
Script end 0.1405  1,387.2656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00372.6015200.0002
Check MTime0.00141.0056200.0001
Mysql Total
Database connection0.00070.522210.0007
Mysqli_queries0.097969.62241410.0007
Looping result0.00120.84341390.0000
Template Total0.129792.210.1297
Template load0.00080.594610.0008
Template processing0.128891.645610.1288
Override
Cache load0.00060.433810.0006
Sytem overhead
Fetch class attribute can translate value0.00080.581110.0008
XML
Image XML parsing0.00030.227610.0003
General
dbfile0.00342.4316200.0002
String conversion0.00000.004630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs