[TYPO3-english] MENU wrap issue

Morten Hagh morten at hagh.dk
Tue Mar 8 15:33:37 CET 2011


Hi list,

 

I have an issue with some wraps when I try to make a CSS mega menu.

I need to have a wrap in the following order

<div class="sub">

<ul>

<li>Item 1</li>

<li>Item 2</li>

</ul>

</div>

 

 

I use this

lib.TOPMENU.2 < lib.TOPMENU.1
lib.TOPMENU.2 {
  stdWrap.outerWrap = <div class="sub">|</div>
  wrap = <ul>|</ul>
  NO.ATagTitle.field = title
  NO.wrapItemAndSub = <li>|</li>
  NO.doNotLinkIt = 0
}

 

But my wrap is then as follows:

<ul>

<div class="sub">

<li>Item 1</li>

<li>Item 2</li>

</div>

</ul>

 

 

What am I doing wrong ?



/Morten Hagh



More information about the TYPO3-english mailing list