[TYPO3] submenuObjSuffixes blues

Mads M. Hansen madsmh at gmail.com
Sun Nov 12 17:23:11 CET 2006


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