[TYPO3] repeat first level title in second level

JoH info at cybercraft.de
Tue Nov 13 11:28:57 CET 2007

>>> I'm trying to repeat the first level title in the second TMENU.
>>> I got this:
>>> 2 = TMENU
>>> 2 {       # repeat title from level1
>>>     stdWrap.dataWrap = <li>{field:title}</li>
>> did you try leveltitle  here?
> Thank you for your answer Daniel!
> Unfortunately that's not working.
> Any other ideas?

Depends on how you setup the first level TMENU, the and how they are 
And it depends on the amount of performance you are willing to spend.

The "brute force" way would be to fire an additional MySQL SELECT for each 
of the entries to get the parent title based on the pid value of the item.
The more elegant way would be to use LOAD_REGISTER within the setup of the 
parent item.

So what's it gonna be?
Maybe you could post the complete setup of your HMENU?


More information about the TYPO3-english mailing list