[TYPO3] Root page in sitemap

Francois Suter fsuter at cobweb.ch
Fri Aug 10 14:49:16 CEST 2007


Hi,

>>> tt_content.menu.20.2.special = directory
>>> tt_content.menu.20.2.special.targets.3 = _self
>>> tt_content.menu.20.2.special.value.field = pages

There may be another possibility: change tt_content.menu.20.2 to a  
COA, make a first part as a link to the home page, then a second part  
as a HMENU for the sitemap.

Maybe something like:

temp.sitemap < tt_content.menu.20.2
tt_content.menu.20.2 >
tt_content.menu.20.2 = COA
tt_content.menu.20.2  {
	10 = TEXT
	10.value = Home page
	10.typolink.parameter.data = leveluid:0
	10.wrap = <li>|</li>

	20 < temp.sitemap
	20 {
		1.wrap =
	}

	wrap = <ul>|</ul>
}

off the top of my head, but should work.

HTH

François Suter
Directeur technique
------------------------------------------------------------------------ 
-------------------------------------------------------------
Cobweb Development Sàrl
www.cobweb.ch
------------------------------------------------------------------------ 
-------------------------------------------------------------




More information about the TYPO3-english mailing list