[TYPO3] HMENU/TMENU: 2 levels in 1 menu?
Tyler Kraft
headhunterxiii at yahoo.ca
Sun Dec 3 15:55:29 CET 2006
Here this will do what you want and will produce the same mark up as the
example you gave me (with out all that rubbish conditional stuff for IE)
temp.mainnav = HMENU
temp.mainnav{
special = directory
special.value = 1 (homepage id here)
1 = TMENU
1{
noblur = 1
wrap = <ul><li><a href="/index.php?id=1">Home</a></li>|</ul>
expAll = 1
NO.stdWrap.htmlSpecialChars = 1
NO.wrapItemAndSub = <li>|</li>
}
2 = TMENU
2{
noblur = 1
wrap = <ul>|</ul>
expAll = 1
NO.stdWrap.htmlSpecialChars = 1
NO.wrapItemAndSub = <li>|</li>
}
3 = TMENU
3{
noblur = 1
wrap = <ul>|</ul>
NO.stdWrap.htmlSpecialChars = 1
NO.allWrap = <li>|</li>
}
}
you could also do it using entry level, instead of special, if you
wanted to....
hth
Pieter wrote:
> Tyler Kraft wrote:
>> and also what html markup do you want to end up with?
>>
>>
>>
> Markup is not the problem I think. The thing I can't get done is the
> page2 with subpage2.1+2.2+2.3 in one list. I experimented with a COA in
> a HMENU but that does not seem to work.
>
> An example of the menu: look on
> http://www.cssplay.co.uk/menus/example_flyout.html
>
> People tend to go to the submenus of the "Producs" or "Services" menu
> but they don't click on the "Products" or "Services" menus themselves.
> So, I wan to repeat "Products" and "Services" in the submenu (above
> "Mobiles" or "Photography" in the example).
>
> It's complicated to explain, I hope thins get clear with the example.
>
> Regards,
> Pieter
More information about the TYPO3-english
mailing list