[TYPO3] Condition 'if has child pages'
Matthew Manderson
matthew at manderson.co.uk
Wed Mar 22 11:26:27 CET 2006
> Therefore I have to implement a condition "Does it have children". I
> remember a userFunction code somewhere on Typo3.org but I cannot find
> it...
Have you tried using the ifEmpty.cObject
I use it to replace one HMENU with another if the first is empty, ie no
subpages.
eg.
temp.navsubmenu.stdWrap.ifEmpty.cObject < temp.navsubmenualternate
Matthew
More information about the TYPO3-english
mailing list