[TYPO3-english] TS and menu (now with my own name)

Daniel Doesburg daniel at typo3-nl.eu
Sat Feb 7 15:20:26 CET 2009


Hi Marco,

Sorry the previous one calls you as sender. I just re-installed 
Thunderbird :-(
But it should be me!


Try this:

mainmenu = HMENU
mainmenu {
     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