[TYPO3-english] treeLevel = -1

JoH asenau info at cybercraft.de
Wed Mar 10 11:43:17 CET 2010


> 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.

-1 is the current page. According to TSref negative values are relative
values counted "backwards" from the current page.

-2 would be the parent page, -3 "grand parent" page and so on.

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com




More information about the TYPO3-english mailing list