[TYPO3] submenuObjSuffixes blues

Mads M. Hansen madsmh at gmail.com
Sun Nov 12 18:15:27 CET 2006


I must admit I didn't notice that caveat.
Do you have any suggestions as to how to approach this issue?

Regards, Mads

On 11/12/06, Pierre Rouwens (TC2L) <pierre.rouwens at tc2l.ca> wrote:
>
> 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>
> >                }
> >        }
> > }
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>



More information about the TYPO3-english mailing list