Zum Inhalt springen

extra Template für "type=753"

Erstellt am 21. August 2007 · 1 Antwort · letzte Antwort am 21. August 2007

Tags: Frage

Sjoeren ·

Ich stehe gerade auf dem Schlauch. Wie bekomme ich ein extra Template für diesen Seiten-Type.

bzw. wie müsste eine Weiche aussehen.

einpraegsam.​net ·

Dafür brauchst du noch nicht mal Conditions, schau dir einfach an, wie man eine neue Druckdefinition (in diesem Fall für Type 98-) macht:

# Druckdefinitionen
print = PAGE
print {
	typeNum = 98
	config.index_enable = 0
	config.index_externals = 0
	bodyTag = <body onLoad="window.print();window.close();">
        stylesheet = fileadmin/templates/css/global.css
	10 = TEMPLATE
	10  {
		template = FILE
		template.file = fileadmin/templates/druckansicht.html
		subparts {
			INHALT_NORMAL < styles.content.get
		}
	}
}