unfortunately not, unless you're coding an event handler that listens for new events on document, and cancel the event when level of new document exceeds a predefined level.
Lots of info on event handlers and their implementation can be found on the wiki.
Limiting content to a certain number of levels?
If I have a site structured like this, all document types are the same
Home
- Nav 1
- Nav 2
- Sub Nav 1
- Sub Nav 2
- Nav 3
- Sub Nav 1
- Sub Sub Nav 1
Is there anyway of stopping a user creating
- Sub Sub Sub Nav and then
- Sub Sub Sub Sub Nav'
etc. etc.
Cheers
Rich
Hi Rich,
unfortunately not, unless you're coding an event handler that listens for new events on document, and cancel the event when level of new document exceeds a predefined level.
Lots of info on event handlers and their implementation can be found on the wiki.
Hope this helps.
Regards,
/Dirk
Thanks Dirk, that makes sense.
Well a simplier approach could be to make a documenttype for each level.
In V4 you can make a master documenttype with all the properties and then make child documenttypes for each level that inherit from the master
This way you can control the types of documenttypes you want the user to create and the number of levels.
/ cheers
Søren
Thanks Søren, I'll have a look at master/child doc types, sounds like that could work.
Cheers,
Rich
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.