[TYPO3] How to hide 2nd level menu for only two items?

Christopher bedlamhotel at gmail.com
Wed Feb 15 18:40:21 CET 2006


On 2/15/06, Peter Klein <peter at umloud.dk> wrote:
> Hi Jody. What you need is Conditions. Something like this:
>
> Place this in SETUP:
> -- cut --
> [PIDinRootline = <ID of About the Library page>,<ID of Library Resources
> page>]
> yourMenu >
> [GLOBAL]
> -- cut --
>
> Then insert the IDs of the 2 pages in the 1st line, and change "yourmenu" to
> the name of your TS menu..
>
> ---

Jody, your wording was a little ambiguous. Peter's solution will hide
the subnav for the two pages in question AND all their child pages. If
you want to hide ONLY the two pages, change the condition to the
following

[globalVar = TSFE:id = <ID of About the Library page>,<ID of Library
Resources page>]

-Christopher



More information about the TYPO3-english mailing list