[TYPO3-english] generate li nested in li in menu

Dmitry Dulepov dmitry at typo3.org
Wed Jul 7 16:05:39 CEST 2010


Hi!

Thijs Hakkenberg wrote:
> I want to nest the sub menu into the first <li>'s  (I'm making a css
> based dropdown)
> Can anyone tell me what the correct setup is?

You need wrapItemAndSub instead of allWrap on the first level. You also
need to wrap the second level into its own <ul> to have correct HTML (<li>
cannot be nested).

-- 
Dmitry Dulepov
TYPO3 core&security teams member
Twitter: http://twitter.com/dmitryd
Read more @ http://dmitry-dulepov.com/


More information about the TYPO3-english mailing list