Hallo Zusammen
Welche von beiden Varianten ist die schönere und sollte ab jetzt und für die Zukunft verwendet werden? (Typo3 6.1+)
Variante Fluid Variable:
...
<f:format.raw>{mainContent}</f:format.raw>
...
...
page.10 = FLUIDTEMPLATE
page.10 {
file = fileadmin/templates/Main.html
variables {
mainContent < styles.content.get
mainContent.select.where = colPos=1
}
}
...
Variante Cobject:
...
<f:cObject typoscriptObjectPath="lib.mainContent" />
...
...
page.10 = FLUIDTEMPLATE
page.10 {
file = fileadmin/templates/Main.html
}
lib.mainContent < styles.content.get
lib.mainContent.select.where = colPos=1
...
Gruss