restricted list of the content classes

Author Message

Vitaly Vitenko

Tuesday 25 March 2008 2:19:18 am

Hello all.
Is it possible to create the short list of content classes which related to any another content class? I mean next possibility:
Now any editor of site in any place of site have seen content list like this:

| Article |
| Article (main page) |
| ... |
| blog |
| blog post |
| etc... |

I need to restrict this list of possibility adding content class, if i'm located in "blog" object type. In this case i want to see next restricted list of possibility adding content class:

| blog post |

no any else content classes no owes to be appear in this list...

Sorry about terrible english...

André R.

Tuesday 25 March 2008 2:26:16 am

You are probably logged in as admin, and hence have access to doing everything.

Login as a editor to see how "content, create, class('blog post'), parent_class('blog')" rules work.
It should be there by default, if not go to (in admin) users -> user roles -> editor and add it / modify existing access rules.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Vitaly Vitenko

Tuesday 25 March 2008 7:03:31 am

Andre, you've got me wrong. I don't mean limiting the rights of certain user groups, I mean the properties of content class itself.

E.g. I'd like to create a content class ProductFolder and let ANY user create ONLY objects of class Product under it.

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 16:20:29
Script start
Timing: Jan 18 2025 16:20:30
Module start 'layout'
Timing: Jan 18 2025 16:20:30
Module start 'content'
Timing: Jan 18 2025 16:20:30
Module end 'content'
Timing: Jan 18 2025 16:20:30
Script end

Main resources:

Total runtime0.6180 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.0086 588.0313152.6406
Module start 'layout' 0.00860.0035 740.671939.4609
Module start 'content' 0.01210.6046 780.1328535.7344
Module end 'content' 0.61670.0013 1,315.867212.1563
Script end 0.6180  1,328.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5111160.0002
Check MTime0.00130.2074160.0001
Mysql Total
Database connection0.00100.160510.0010
Mysqli_queries0.569292.0915570.0100
Looping result0.00060.0957550.0000
Template Total0.585094.720.2925
Template load0.00200.320720.0010
Template processing0.583194.341920.2915
Template load and register function0.00030.042910.0003
states
state_id_array0.00090.142610.0009
state_identifier_array0.00080.129020.0004
Override
Cache load0.00160.2599240.0001
Sytem overhead
Fetch class attribute can translate value0.00060.095220.0003
Fetch class attribute name0.00200.325240.0005
XML
Image XML parsing0.00080.135620.0004
class_abstraction
Instantiating content class attribute0.00000.001840.0000
General
dbfile0.00100.1572170.0001
String conversion0.00000.001540.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
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 14
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs