[TYPO3] TMENU IF level=3

JoH asenau info at cybercraft.de
Mon Mar 26 17:41:51 CEST 2007


> I build the following TMENU:
>
> # ProductMenu
> temp.ProductMenu = HMENU
> temp.ProductMenu {
> [...]
> }
>
> Now i want to show this menu only when Level 3 is active.

Use Conditions:

i.e. for level 3 only

[treeLevel = 3]
[else]
temp.ProductMenu >
[global]

or if you want it to be visible for level 3 and higher:


[treeLevel = 0,1,2]
temp.ProductMenu >
[global]

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
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com




More information about the TYPO3-english mailing list