[TYPO3-english] problem with template
Tapio Markula
tapio.markula at xetpoint.fi
Mon Oct 27 15:11:01 CET 2008
Steef Janssen kirjoitti:
> I just started with a tutorial that's focusing on using a seperate html
> and css file for your template.
> Now I have the following problem. I managed to get it all working but
> when I want to specify a menu it's not working.
> Here is the html file and the setup from the template:
>
> # Default PAGE object:
>
> temp.mijnTemplate = TEMPLATE
> temp.mijnTemplate.template = FILE
> temp.mijnTemplate.template.file = fileadmin/templates/index.html
> temp.mijnTemplate.workOnSubpart = BODY
> temp.mijnTemplate.subparts.MENU < temp.menu
> temp.menu = HMENU
> temp.menu.1 = TMENU
> temp.menu.1.NO.allWrap = | <br/>
> temp.menu.2 = TMENU
> temp.menu.2.NO.allWrap = | <br/>
> temp.mijnTemplate.subparts.KOP = TEXT
> temp.mijnTemplate.subparts.KOP.value = TEST
> page = PAGE
> page.10< temp.mijnTemplate
try to put the menu def. *before* calling it
(temp.mijnTemplate.subparts.MENU < temp.menu)
More information about the TYPO3-english
mailing list