[TYPO3-english] HMENU/TMENU: Don't display siblings of parent pages

Lorenz Ulrich lorenz-typo3 at visol.ch
Thu Aug 23 20:58:26 CEST 2012


Hi Loek

Thanks for pointing me to the right direction. I found a TypoScript 
config that does the trick:


[treeLevel = 2]
temp.navigation.10.1.NO.doNotShowLink = 1

[treeLevel = 3]
temp.navigation.10.1.NO.doNotShowLink = 1
temp.navigation.10.2.NO.doNotShowLink = 1

This way in treeLevel 2 all links but CUR/ACT are not shown.

Thanks and best regards,

Lorenz

Am 21.08.2012 16:23, schrieb Loek Hilgersom:
> Try using something like this on level 1 or 2 (depending where you start):
>
> NO.stdWrap.cObject >
> ACT = 1
> ACT {
> ...
> }
>
> That should hide all non-active items. You could make an exception for
> home, or render conditional content in the cObject.
>
> Maybe this gets you a bit further.
> Loek
>
>
> Op 21-08-12 16:04, Lorenz Ulrich schreef:
>> Hi there
>>
>> I have a tricky navigation and don't get it done correctly. Maybe
>> someone can help me.
>>
>> I have the following setup (simplified)
>>
>> HOME
>> - Subpage 1
>> - Subpage 2
>> -- Sub-Subpage 1
>> -- Sub-Subpage 2
>> - Subpage 3
>> - Subpage 4
>>
>> This is also what I want to see when I'm on the HOME page, pretty
>> standard. But when I'm on a Sub-Subpage I want to display the following:
>>
>> HOME
>> - Subpage 2
>> -- Sub-Subpage 1
>> -- Sub-Subpage 2
>>
>> So basically I don't want to display the siblings of the parent page,
>> only the siblings of the current page.
>>
>> I'd appreciate any suggestion.
>>
>> Thanks and best regards,
>>
>> Lorenz
>



More information about the TYPO3-english mailing list