[TYPO3-english] Content elements in menu - for mega menu

Morten Hagh morten at hagh.dk
Thu Mar 10 10:12:32 CET 2011


Hi list,

 

is it possible somehow to get content elements in a drop down / mega menu?
In my menu I want some pictures etc. but I am not sure how to get this.

My menu is created with the following TS:

 

lib.TOPMENU = HMENU
lib.TOPMENU.entryLevel = 0
lib.TOPMENU.1 = TMENU
lib.TOPMENU.1 {
  expAll = 1
  wrap = <ul id="topnav">|</ul>
 
  NO.wrapItemAndSub = <li>|</li>
}

lib.TOPMENU.2 < lib.TOPMENU
lib.TOPMENU.2 {
  wrap = <div class="sub"><ul>|</ul></div> 
  NO.wrapAll = <li>|</li>
}

 

But can I somehow INSIDE my <div class="sub"></div> (the div is used for my
"dropdown") get some content elements, i.e. a text with image element?

I still want my main pages as menuitems. But content elements as subitems.

/Morten Hagh



More information about the TYPO3-english mailing list