[TYPO3] Templavoila: Rules for nesting FCEs

Jean-Pierre Praz jpraz at dplanet.ch
Fri Mar 23 19:03:45 CET 2007


Hi everyone

a feature I would like to see implemented in Templavoila is the ability to 
specify rules for nested FCEs. Let's make an example:

If there is a FCE representing some type of bullet-list (<ul 
class="blue-bullets"></ul>) and a FCE representing some type of bullet 
(<li>bullet content</li>) and maybe a third FCE representing some 
text-paragraph (<p class="kind-of-text">bla, bla, bla</p>) then it would be 
nice to have some rules preventing users to insert a text-paragraph into a 
bullet-list but still accepting if users insert a bullet into a 
bullet-list. It's just a small example but there are more complex cases 
like complexContainerA can not be nested in containerAggregatorB but 
complexContainerB can.

I did some research and found that others where looking for this feature as 
well but none of them really had helpfull responses. Does anybody else have 
a need for such a feature as well, or does anybody have ideas how it could 
be done...?

Others have asked similar questions here:
http://dev-bugs.elios.de/bug_view_advanced_page.php?bug_id=2065
http://lists.netfielders.de/pipermail/typo3-german/2006-July/020347.html
http://lists.netfielders.de/pipermail/typo3-english/2005-March/002668.html

Even more rules could be useful like:
- You can only insert 1....n of type X in Y.
- There must be at least 1.....n of type X in Y.
- X can only be inserted in first, second, ....., last position in Y.
- X can only be inserted by users of group "the-group".

Basically this leads to being able to define a Schema of what is a valid 
page (or element) and what is not, a Schema which tells how different FCEs 
can/must be combined.

Any responses and ideas are welcome. Thanks

Jahn



More information about the TYPO3-english mailing list