Ich habe folgendes Problem: Mein Fluidtemplate besteht zur Zeit aus einem Haupttemplate,
das im Ordner layouts liegt. In diesem Haupttemplate werden die weiteren Templates
eingearbeitet, die man im Inhaltsbereich des backend auswählen kann, in den
Seiteneinstellungen bei "Appereance".
Ich benötige aber nicht nur ein Haupttemplate, sondern zwei!
Bevor ich den bisherigen Code angebe, möchte ich wissen, wie ich es verändern kann, dass ich zwei verschiedene Templates als meine Haupttemplates habe?
CODE:
page.10 = FLUIDTEMPLATE
page.10 {
format = html
file = fileadmin/templates/layouts/main_layout.html
partialRootPath = fileadmin/templates/partials/
layoutRootPath = fileadmin/templates/layouts/
variables {
content_main < styles.content.get
content_main.select.where = colPos = 0
content_column_1 < styles.content.get
content_column_1.select.where = colPos = 1
content_column_2 < styles.content.get
content_column_2.select.where = colPos = 2
}
}
page.10.file.stdWrap.cObject = CASE
page.10.file.stdWrap.cObject {
key.data = levelfield:-1, backend_layout_next_level, slide
key.override.field = backend_layout
default = TEXT
default.value = fileadmin/templates/main_1_column_with_menu.html
1 = TEXT
1.value = fileadmin/templates/main_1_column_with_menu.html
2 = TEXT
2.value = fileadmin/templates/main_1_column_without_menu.html
3 = TEXT
3.value = fileadmin/templates/main_2_column_without_menu.html
}
CODE ENDE
Wer kann mir helfen?
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german