[TYPO3-german] BE-Layout und FLUIDTEMPLATE

Tobias Liegl tliegl at gmail.com
Mon Sep 10 16:12:46 CEST 2012


Hallo Johannes,

die colPos Zuordnung im BE-Layout kannst du doch frei definieren. Warum 
gibst du in deinem 2-Spalten-Layout nicht einfach der linken Spalte 
colPos 12 und der rechten Spalte colPos 11? Dann würde es doch passen, 
oder nicht?

Beste Grüße
Tobi


Am 10.09.12 15:48, schrieb JCL - Johannes C. Laxander:
> 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