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

Loek Hilgersom loek at netcoop.nl
Tue Aug 21 16:23:50 CEST 2012


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