[TYPO3-english] hmenu including *only* not in menu items
Paul Vetch
paul.vetch at kcl.ac.uk
Mon Nov 15 09:55:48 CET 2010
?Perfect, thanks for that Joey. For the benefit of anyone else looking to
do this:
[...]
NO {
allStdWrap.wrap = <li>|</li>
allStdWrap.if.value.field = nav_hide
allStdWrap.if.equals = 1
[...]
- is all that's needed.
Paul
"JoH asenau" <info at cybercraft.de> wrote in message
news:mailman.1.1289748991.27547.typo3-english at lists.typo3.org...
>> In older version of TYPO3 when the 'not in menu' doktype existed it
>> was possible to build a special HMENU *only* from pages with 'hide in
>> menu' set, by setting
>> excludeDoktypes >
>> excludeDoktypes = 1,2,3,4,6,7,199,254,255
>> includeNotInMenu = 1
>>
>> It's useful being able to do this from time to time, but I can't see
>> a way to do this in newer versions though now that the 'to in menu'
>> doktype doesn't exist - is there a way to achieve the same thing?
>
> You could add allStdWrap.if to the different item states and check for the
> value of the checkbox "not in menu".
> Works for both TMENU and GMENU.
>
> Cheers
>
> 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