[TYPO3] submenuObjSuffixes blues

Pierre Rouwens (TC2L) pierre.rouwens at tc2l.ca
Sun Nov 12 17:38:29 CET 2006


Hi,

Correct em if i'm wrong, but in the TSref there's this mention :
Applies to GMENU, TMENU, GMENU_LAYERS, TMENU_LAYERS and GMENU_FOLDOUT on 
 >= 2nd level in a menu.

You can't use it on a level 1 of a menu

Pierre

Mads M. Hansen a écrit :
> Hi, I'm trying to apply a separate style to the first menu item, and I
> have been trying to use submenuObjSuffixes for that purpose. I seem to
> be unable to correctly indicate that it's the first menu item I'm
> referring to (a)...
> 
> The code below is what I use to generate the menu..
> Any help would be greatly appreciated.
> 
> Regards, Mads
> 
> 
> lib.navigation = HMENU
> lib.navigation {
>     submenuObjSuffixes = a|*||*|
>     ##############
> 
>     1a = TMENU
>     1a {
>                noBlur = 1
>                expAll = 1
> 
> 
>                NO = 1
>                NO {
>                        linkWrap = <dl class="site"><dt 
> class="normal">|</dt>
>                        doNotLinkIt = 1
>                }
>               ACT = 1
>               ACT {
>                        linkWrap = <dl class="site"><dt 
> class="active">|</dt>
>                        doNotLinkIt = 1
>                }
> 
>        }
> 
>     2a = TMENU
>        2a {
>                wrap = <dd><ul>|</ul></dd></dl>
>                noBlur = 1
> 
>                NO = 1
>                NO {
>                        wrapItemAndSub = <li>|</li>
>                }
>        }
>        ##############
>        1 = TMENU
>        1 {
>                noBlur = 1
>                expAll = 1
> 
> 
>                NO = 1
>                NO {
>                        linkWrap = <dl><dt class="normal">|</dt>
>                        doNotLinkIt = 1
>                }
>               ACT = 1
>               ACT {
>                        linkWrap = <dl><dt class="active">|</dt>
>                        doNotLinkIt = 1
>                }
> 
>        }
> 
>        2 = TMENU
>        2 {
>                wrap = <dd><ul>|</ul></dd></dl>
>                noBlur = 1
> 
>                NO = 1
>                NO {
>                        wrapItemAndSub = <li>|</li>
>                }
>        }
> }



More information about the TYPO3-english mailing list