[TYPO3-german] BE-Layout und FLUIDTEMPLATE

JCL - Johannes C. Laxander jc at laxander.com
Mon Sep 10 15:48:40 CEST 2012


Hallo,
 
ich stehe vor einem Problem und weiß nicht wie ich es lösen muss.
 
Ich habe zwei BE-Layouts: ein 1-Spalten- ´(colPos: 11) und ein 2-Spalten-Layout (colPos: 11 + 12).
Mein Problem ist colPos '11'. Im 1-Spalten-Layout ist es eben die Hauptinhaltsspalte und im 2-Spalten-Layout ist coPos '11' die linke Spalte.
 
Mein TypoSCript sieht bisher so aus:
 
page.10 = FLUIDTEMPLATE
page.10 {
	layoutRootPath = ...   
	partialRootPath = ...
	file.stdWrap.cObject = CASE
	file.stdWrap.cObject {
		key.data = levelfield:-1, backend_layout_next_level, slide
		key.override.field = backend_layout
		# ID 3 = Standardseite
		default = TEXT
		default.value = fileadmin/templates/fluid/layout2.html
		# ID 4 = Startseite
		4 = TEXT
		4.value = fileadmin/templates/fluid/layout1.html
	}
	variables {

		<!-- Hier ist mein Problem -->

		mainContent < styles.content.get
		mainContent.select.where = colPos=11
		leftContent < styles.content.get
		leftContent.select.where = colPos=12

		<!-- -->
	}
}
 
Das passt beim 2-Spalten-Layout ja wunderbar. Aber beim 1-Spalten-Layout passt das nicht mehr.

Wie kann / muss ich das anders lösen?

Gruß, Johannes.



More information about the TYPO3-german mailing list