[TYPO3] list children in menu

JoH info at cybercraft.de
Wed Sep 12 16:58:59 CEST 2007


> I have a template with a menu in which the children of the current
> page should be listed. The thing is that this can occur at any hight
> of the tree.. so I cannot hardcode the entryLevel.

Of course you can, since there are relative and absolute entryLevels 
possible.

> So tried to set entryLevel of my menu object to treeLevel,
> but that does not yield the expected results.

Of course not, since this is just a parameter used in conditions.

> Please find my codesnippet (which I took from the typo3 enterprise
> book listings) below!
>
> many thanks!
> Timo Proescholdt
>
> temp.subnavigation = HMENU
> temp.subnavigation.entryLevel = 1

entryLevel = -1

should be your friend.

HTH

Joey 




More information about the TYPO3-english mailing list