[TYPO3] Getting title of parent item in a menu

Katja Lampela katja.lampela at lieska.net
Thu Aug 16 21:21:48 CEST 2007


Hi Loek,
One way to go is to have a separate marker for the header item of the menu

###headeritem###
###menu###

marks.headeritem = TEXT
marks.headeritem.data = leveltitle:1


- Katja




"Loek Hilgersom" <hilgersom at xs4all.nl> kirjoitti 
viestissä:mailman.1.1187280926.30080.typo3-english at lists.netfielders.de...
> Hi,
>
> I'm trying to create a menu of pages where I want to add the title of the 
> parent page to the text of every item (the items are from different parent 
> pages, of course).
>
> I tried with leveltitle:-2, but this only gives back the title of the 
> parent of the current page, not of the menu-item.
>
> Any clever suggestions?
>
> special = list
> special.value.field = pages
> 1 = TMENU
> 1.NO.allWrap.dataWrap = {leveltitle:-2}: |
>
> Thanks,
> Loek 




More information about the TYPO3-english mailing list