[TYPO3-english] problem with template

Steef Janssen janssenman at gmail.com
Mon Oct 27 11:58:56 CET 2008


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



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>template</title>
</head>
<body>
	<!--###BODY###-->
	
		<div id="kop">
		
		<--!###KOP###-->
		[hier komt de kop]
		<--!###KOP###-->
		
		</div>
		
		<div id="inhoud">
		
		<--!###INHOUD###-->
		[hier komt de inhoud]
		<--!###INHOUD###-->
		
		</div>
		
		<div id="menu">
		
		<--!###MENU###-->
		[Hier komt het menu]
		<--!###MENU###-->
		
		</div>
		
	<--!###BODY###-->
</body>
</html>



The output is the following, al blank page with the text:

  <--!TEST
<--!###INHOUD###--> [hier komt de inhoud] <--!###INHOUD###-->
<--!###MENU###--> [Hier komt het menu] <--!###MENU###-->
<--


Can someone please help me

thanks in andvance,

Steef


More information about the TYPO3-english mailing list