[TYPO3] Getting title of parent item in a menu
Rik Willems - Actiview
rik at actiview.nl
Fri Aug 17 12:00:52 CEST 2007
Loek,
Perhaps you can be a little clearer about what you really want? I'm not sure
I understand you correctly.
Regards,
Rik Willems
ACTIVIEW WEB SOLUTIONS
website development | online applications | services & solutions
W: http://www.actiview.nl
-----Original Message-----
From: typo3-english-bounces at lists.netfielders.de
[mailto:typo3-english-bounces at lists.netfielders.de] On Behalf Of Loek
Hilgersom
Sent: 17 August 2007 11:44
To: typo3-english at lists.netfielders.de
Subject: Re: [TYPO3] Getting title of parent item in a menu
Katja,
Thanks for the suggestion, but that also takes the title of the parent of
the
current page (the page that is shown now), not of the menu-item. And I can't
add
a marker for every menu-item, that would be less flexible than just adding a
content element with all the menu links by hand (that's the only alternative
I
can see so far).
Other hints?
Loek
Katja Lampela wrote:
> 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
>
>
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list