Forums / Setup & design / Specify list of available children classes for a container
Maurizio Betti
Sunday 04 February 2007 4:27:40 am
Hello,
I'm desperatly looking for a method to specify a list of children classes available for a container class.
I would like, when an editor user is placed on a container class and he wants to create a new child node, to show him ONLY the children classes available for that specific type of container.
Any idea?
Thanks in adavnce for any answer/suggestion.
Best regards
Maurizio Betti http://www.arsweb.it http://www.hospes.it
André R.
Sunday 04 February 2007 4:52:34 am
This is done by limting the types of classes a editor user can create with that specefic container class as parent_class in user roles.
Example from Calendar in ezwebin on 3.9:
content, create, class( event ), parent_class ( event_calendar )
or forum:
content, create, class( forum_topic ), parent_class ( forum )content, create, class( forum_reply ), parent_class ( forum_topic )
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
Sunday 04 February 2007 5:56:07 am
Great! I'll try immediatly!!!
Many thanks
Sunday 04 February 2007 6:11:04 am
Remember that you'll have to remove any general create rights first for editor role, like:
content * or content create *
(If you for some reason have that.)