[TYPO3] problem with insertdata and wrap

luca mingusthecat at gmail.com
Thu Jun 19 12:03:12 CEST 2008


Hi
I've just started with typo3 and I'struggling to get throught with my 
first job with it.
I have a problem wrapping a menu with a div and using insertdata to 
customize the box according to the page we are visiting. This is my code

## subMenu [Begin]
lib.subMenu= HMENU
lib.subMenu.entryLevel = 1
lib.subMenu.1 = TMENU
lib.subMenu.1 {
stdWrap.wrap.insertData = 1
stdWrap.wrap = <div class="LeftMenuBox-id{field:uid}"><ul 
id="LeftMenuList">|</ul></div>
}
lib.subMenu.1.NO {
allWrap = <li>|</li>
}
lib.subMenu.1.ACT = 1
lib.subMenu.1.ACT.allWrap = <li class="LeftMenu-ACT">|</li>
## subMenu [End]


I hope somebody can give me a hint on how to solve it!!

Thank you!!
Luca



More information about the TYPO3-english mailing list