Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige ÜberarbeitungNächste ÜberarbeitungBeide Seiten, nächste Überarbeitung | ||
typo3:templating:fluidtemplate [2016/05/14 11:28] – Anpassungen von Dateipfaden admin | typo3:templating:fluidtemplate [2018/06/19 19:33] – [Eigene Fluid-Settings] admin | ||
---|---|---|---|
Zeile 10: | Zeile 10: | ||
===== Beispiel für ein simples Fluidtemplate ===== | ===== Beispiel für ein simples Fluidtemplate ===== | ||
- | ==== Typoscript | + | ==== TypoScript |
<code typoscript> | <code typoscript> | ||
lib.mainMenu = HMENU | lib.mainMenu = HMENU | ||
Zeile 136: | Zeile 136: | ||
===== BackendLayouts über Page TSconfig ===== | ===== BackendLayouts über Page TSconfig ===== | ||
- | < | + | < |
mod.web_layout.BackendLayouts { | mod.web_layout.BackendLayouts { | ||
1 { | 1 { | ||
Zeile 168: | Zeile 168: | ||
Zu beachten ist, dass BackendLayouts aus der TSconfig das Präfix '' | Zu beachten ist, dass BackendLayouts aus der TSconfig das Präfix '' | ||
- | < | + | < |
page.10 = FLUIDTEMPLATE | page.10 = FLUIDTEMPLATE | ||
page.10 { | page.10 { | ||
Zeile 174: | Zeile 174: | ||
file.stdWrap.cObject { | file.stdWrap.cObject { | ||
key.data = pagelayout | key.data = pagelayout | ||
- | | + | |
pagets__1 = TEXT | pagets__1 = TEXT | ||
pagets__1.value = EXT: | pagets__1.value = EXT: | ||
Zeile 183: | Zeile 183: | ||
} | } | ||
} | } | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Eigene Fluid-Settings ===== | ||
+ | |||
+ | **TypoScript: | ||
+ | <code typoscript> | ||
+ | page.10 = FLUIDTEMPLATE | ||
+ | page.10 { | ||
+ | settings { | ||
+ | mySetting = 0 | ||
+ | } | ||
+ | |||
+ | # etc. | ||
+ | } | ||
+ | |||
+ | |||
+ | [globalVar = TSFE:id=17] | ||
+ | page.10.settings.mySetting = 1 | ||
+ | [global] | ||
+ | </ | ||
+ | |||
+ | **Fluid-Template: | ||
+ | <code html> | ||
+ | <f:if condition=" | ||
</ | </ |