[TYPO3] menu into list

Francois Suter fsuter at cobweb.ch
Thu Nov 15 11:51:32 CET 2007


Hi,

> temp.nav = HMENU
> temp.nav.entryLevel = 0
> temp.nav.1 = TMENU
> temp.nav.1 {
>    expAll = 1
>    wrap = <ul>|</ul>
>    NO.wrapItemAndSub = <li>|</li>
>    NO.stdWrap.htmlSpecialChars = 1
> }
>
> i'd like to assign it to a list among other modules (eg. searchbox,
> links etc.). the idea is wrapping them like <li class="box">|</li> and
> inserting them somehow in an ul.
>
> my question is how to insert into a list (to be eg. #left_column >  
> ul >
> li .box)?

If I understand you well, you need something like:

temp.nav = COA
temp.nav {
	10 = HMENU
	10 {
		[your menu code here]
		wrap = <li><ul>|</ul></li>
	}
	20 = TEXT
	20.value = text for some other box
	20.wrap = <li>|</li>
	30 ...
	wrap = <ul>|</ul>
}

HTH

François Suter

-- 
Cobweb Development Sàrl
www.cobweb.ch

Rue Eugène-Marziano 15, CH-1227 Les Acacias (Geneva - Switzerland)
T: +41 22 880 00 93, F: +41 22 880 00 94, E: support at cobweb.ch
web solutions for professionnal requirements






More information about the TYPO3-english mailing list