[Typo3-UG Oesterreich] Doppelte HTML-Kopfdaten

Christof zachl at atteneder.at
Tue May 10 09:27:44 CEST 2005


Wolfgang Klinger schrieb:
>  Dazu brauchen wir schon noch ein paar Informationen mehr...
>  Verwendest du den Template Autoparser oder wie machst du das in deinem
>  TypoScript SETUP (du kannst auch eventuell das hier posten)?

Hallo!
Kein Template Autoparser sondern:

# template einlesen:
temp.mainTemplate = TEMPLATE
temp.mainTemplate {
	template = FILE
	template.file = fileadmin/rei_start.html
}

# Menue 1
temp.menu = HMENU
temp.menu.entryLevel = 2
	# Erster Level Text-Menue
	temp.menu.1 = TMENU
	temp.menu.1 {
		# Normaler Status
		NO.allWrap = <div class="menu-level1-no"> | </div>
		# den aktiven Stauts einschalten und definieren:
		ACT = 1
		ACT.allWrap = <div class="menu-level1-act"> | </div>
}

	# zweiter Level Text-Menue
	temp.menu.2 = TMENU
	temp.menu.2 {
		# Normaler Status
		NO.allWrap = <div class="menu-level2-no"> | </div>
		# den aktiven Status einschalten und definieren
		ACT = 1
		ACT.allWrap = <div class="menu-level2-act"> | </div>
}

seite = PAGE
seite.typeNum = 0
seite.10 < temp.mainTemplate
seite.10.workOnSubpath = DOKUMENT
seite.10.marks.MENU < temp.menu
seite.10.marks.MENU.stdWrap.wrap = <div id="menue" class="hg-CCE6B3">|</div>
seite.10.marks.INHALT = CONTENT
seite.10.marks.INHALT {
	table = tt_content
	select.orderBy = sorting
	select.where = colPos=0
}

Das HTML-Template:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="de" lang="de">
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<link rel="stylesheet" href="rei.css" media="screen" />
	<title>Reichraming Dummy</title>
</head>
<body>
<!-- ###DOKUMENT### begin -->
<div id="container">
	<div id="content">
		###INHALT###
	</div>
	<div id="menue">###MENU###</div>
</div>
<!-- ###DOKUMENT### -->
</body>
</html>

lg
Christof Zachl



More information about the TYPO3-at mailing list