[TYPO3] ul/li menu question
Edwin Blokker
a.stoutjesdijk at chello.nl
Wed Oct 11 00:53:37 CEST 2006
Thanks so much, I've got it working now.. And actually understand it.
Thanks for all the replies!
Christopher schreef:
> On 10/10/06, Edwin Blokker <a.stoutjesdijk at chello.nl> wrote:
>> Thanks Joey, but I'm not sure what you mean. This is my typoscript:
>>
>> # Vertical menu cObject
>> lib.vnavv = HMENU
>> lib.vnavv.entryLevel = 1
>> # First level menu-object, textual
>> lib.vnavv.1 = TMENU
>> lib.vnavv.1 {
>> # Normal state properties
>> NO.wrapItemAndSub = <li class="vlevel1no">|</li>
>> NO.stdWrap.htmlSpecialChars = 1
>> # Enable active state and set properties:
>> ACT = 1
>> ACT.stdWrap.htmlSpecialChars = 1
>> ACT.wrapItemAndSub = <li class="vlevel1act">|</li>
>> }
>> # Second level menu-object, textual
>> lib.vnavv.2 = TMENU
>> lib.vnavv.2.wrap = <ul>|</ul>
>> lib.vnavv.2 {
>> # Normal state properties
>> NO.wrapItemAndSub = <li class="vlevel2no">|</li>
>> NO.stdWrap.htmlSpecialChars = 1
>> # Enable active state and set properties:
>> ACT = 1
>> ACT.stdWrap.htmlSpecialChars = 1
>> ACT.wrapItemAndSub = <li class="vlevel2act">|</li>
>> }
>>
>>
>> I have used templavoila to make the template and mapped the <ul> tag
>> wich holds the menu list. Should I change the mapping in any way?
>
>
> Change your TV mapping of the <ul> to 'outer', and add
>
> lib.vnavv.1.wrap = <ul>|</ul>
>
> ...to your TS.
>
>
> -Christopher
More information about the TYPO3-english
mailing list