[TYPO3-english] TMENU problem

Patrik paprikb at gmail.com
Fri May 8 12:26:47 CEST 2009


Need a help!

My TS of menu:
1 = TMENU
1 {
    expAll = 1
      wrap = <ul> | </ul>
       NO.allWrap = <li> | </li>

        NO {
        stdWrap.cObject = COA
        stdWrap.cObject {
        10 = IMAGE
        10.file.import = uploads/media/
        10.file.import.field = media
        10.file.import.listNum = 0

        20 = TEXT
        20.field = title

        }
    }
   #    ACT = 1
   #    ACT.wrapItemAndSub = <li class="current_page_item"> | </li>
}
}

Output is:
...
<ul> <li>
<a onfocus="blurLink(this);" href="index.php?id=20">
<img width="70" height="70" border="0" title="" alt="" src="
uploads/media/cons_test.jpg"/>
Test1
</a>
</li> ...

Need this html code:
...
<ul> <li>
<div class="logo">
<img width="70" height="70" alt="" src="img/cons_test.jpg"/>
</div>
<div class="title">
<a href="">Test1</a>
</div>
</li> ...

Regards,
Patrik


More information about the TYPO3-english mailing list