[TYPO3] TMENU - a little help
Tyler Kraft
headhunterxiii at yahoo.ca
Wed Oct 11 17:07:26 CEST 2006
subparts.menu = HMENU
subparts.menu{
special = directory
special.value = 49
1 = TMENU
1 {
expAll = 1
noBlur = 1
NO.wrapItemAndSub = <ul><li>|</li></ul>
}
2 < .1
2.wrap = <ul>|</ul>
2.NO.wrapItemAndSub = <li>|</li>
3 < .2
4 < .3
}
Nino wrote:
> Hi,
>
> This is the code for my menu (thx. to Tyler):
>
> subparts.menu = HMENU
> subparts.menu{
> special = directory
> special.value = 49
> 1 = TMENU
> 1 {
> expAll = 1
> noBlur = 1
> wrap = <ul>|</ul>
> NO.wrapItemAndSub = <li>|</li>
> }
>
> 2 < .1
> 3 < .2
> 4 < .3
> }
>
> and it produces this kind of result:
>
> <ul>
> <li><a href="#">Level1</a>
> <ul>
> <li><a href="#">Level2</a></li>
> <li><a href="#">Level2</a>
> <ul>
> <li><a href="#">Level3</a></li>
> </ul>
> </li>
> <li><a href="#">Level2</a>
> <ul>
> <li><a href="#">Level3</a></li>
> </ul>
> </li>
> </ul>
> </li>
>
> {i need to insert </ul><ul> here}
>
> <li><a href="#">Level1</a>
> <ul>
> .........etc..........
> </ul>
>
>
> So, what i want is to wrap every Level1 into <ul>. It's something like this
> http://dosimple.ch/articles/Menus-dynamiques/menuHorizontal.html Anybody can
> help me on this? Thx.
>
> Nino
>
>
More information about the TYPO3-english
mailing list