[TYPO3] submenuObjSuffixes blues

Pierre Rouwens (TC2L) pierre.rouwens at tc2l.ca
Sun Nov 12 18:21:34 CET 2006


Mads,

Have you tried with option split ?
somethings like :

1 = TMENU
         1 {
                noBlur = 1
                expAll = 1


                NO = 1
                NO {
                         linkWrap = <dl 
class="site"><dtclass="normal">|</dt> || <dl><dt class="normal">|</dt></dl>
                        doNotLinkIt = 1
                }
...

        }

it should do the job.

Pierre

Mads M. Hansen a écrit :
> 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