[TYPO3-english] TS and menu

Marco Couperus marcocouperus at gmail.com
Sat Feb 7 13:04:54 CET 2009


Hi Marco,

Try this:

mainmenu = HMENU
mainmenu {
	entrylevel = 1
	special = directory
	special.value = 12
	1 = TMENU
	1 = {
		NO = 1
		NO {
			linkWrap = | <br />
		}
	}
}

page = PAGE
page {
	10 = USER
	10.userFunc = tx_templavoila_pi1->main_page
}


Most significant is: special is a property of HMENU

Regards,

Daniel Doesburg


Marco Couperus schreef:
> Hello all, I'm trying to set up a HMENU reading menu item from special
> directory. (sysfolder) But for some reason It's not listing the contents of
> the sysfolder. I'm using latest typo3 and latest templavoila. I verified the
> templavoila DS XML config which is OK.
> 
> I believe there is something wrong with my TypoScript but I can¹t quite
> figure out what¹s going on (newbie to Typo3).
> 
> Here is my template record TS:
> 
> page = PAGE
> page.typeNum = 0
> page.10 = USER
> page.10.userFunc = tx_templavoila_pi1->main_page
> 
> mainmenu = HMENU
> mainmenu.entrylevel = 1
> mainmenu.1 = TMENU
> mainmenu.1 = {
>     special = directory
>     special.value = 12
>     ACT  = 1
> }
> 
> Can anyone tell me what I¹m doing wrong with TS?
> 
> Thanks in advance.
> 
> Regards,
> 
> Marco 


More information about the TYPO3-english mailing list