[TYPO3-english] treeLevel = -1

Peter Russ peter.russ at 4many.net
Wed Mar 10 14:06:39 CET 2010


--- Original Nachricht ---
Absender:   bilal -
Datum:       10.03.2010 12:53:
> Hi Peter,
> 
> Thanks for your quick response.
> 
> I've got this setup:
> 
> - Menu 1 (the main menu)
>   --Subitem A
>    ---SubItem A1
>    ---SubItem A2
>    ---SubItem A3
> 
>   --SubItem B
>    ---SubItem B1
>    ---SubItem B2
> 
>   --SubItem C
>    ---SubItem C1
>    ---SubItem C2
> 
> If the visitor clicks on "Home", he will see the page Home, but WITH the subpages of "Home" on the left side.
> When the visitor clicks on SubItem A, he will see the page SubItem A, but WITH the subitems (SubItem A1, SubItem A2, etc.)
> But when he/she clicks on SubItem A1 (the page without subpages), he only gets to see the page SubItem A1 itself. (without the subpages)
> 
> So that is my current setup.
> 
> Now what I want is... if the visitor clicks on the final subitem (ie. in the latest treeLevel), he will get to see the whole subpages treelevel of the -1 level.
> For example: if SubItem C1 is the latest in the treeLevel, I want SubItem A, SubItem B and SubItem C on the left side menu.
> 
> I hope I've explained it good enough for you to understand. It's a bit tricky.
> 
> Thanks.
> 

Why not make a second menu with 1 level only?
If I get you right, all you want is:
Menu 2
	SubItem A
	SubItem B
	SubItem C


I can't see any problem with that.

Peter.
-- 
docendo discimus

_____________________________
uon GbR
http://www.uon.li
http://www.xing.com/profile/Peter_Russ


More information about the TYPO3-english mailing list