[TYPO3-english] treeLevel = -1

bilal - bilal_ at live.nl
Wed Mar 10 12:53:44 CET 2010


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.

> From: peter.russ at 4many.net
> Date: Wed, 10 Mar 2010 11:13:18 +0100
> To: typo3-english at lists.typo3.org
> Subject: Re: [TYPO3-english] treeLevel = -1
> 
> --- Original Nachricht ---
> Absender:   bilal -
> Datum:       10.03.2010 11:06:
> > Hi,
> > 
> > On a certain point in my menu I need one (tree)level to go "-1". treeLevel = -1 doesn't work. Is there an alternative for this option?
> > I've tried "entryLevel" and "special = rootline", but these options don't do the exact thing what I really want.
> > 
> > Thanks.
> 
> TreeLevel stops at the root of template in frontend rendering. So beyond 
> 0 is the universe....
> What do you want to realize?
> 
> Peter.
> 
> -- 
> docendo discimus
> 
> _____________________________
> uon GbR
> http://www.uon.li
> http://www.xing.com/profile/Peter_Russ
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
 		 	   		  
_________________________________________________________________
25GB gratis online harde schijf
http://skydrive.live.com


More information about the TYPO3-english mailing list