[TYPO3-german] Seiten ID abhängige Templates laden

Sebastian Schmal sebastian.schmal at gmx.de
Thu Mar 30 15:55:57 CEST 2017


Aber genau dafür gibt es doch die Seiten-Templates.
Je Seite kannst Du unterschiedliche Templates laden!

------------------------------------------

TYPO3 - TIPPS - ANLEITUNGEN - NEWS
unter: http://www.typo3-probleme.de/

TYPO3 Webdesign Agentur Wiesbaden - Frankfurt
unter: http://www.ingeniumdesign.de/

Facebook Fan
http://www.facebook.com/ingeniumdesign/

------------------------------------------

Am 22.03.2017 um 18:18 schrieb Matthias Gmeiner:
> Bin leider ken Typo3 Speziallist :) Typo 3 ist hier die neuste LTS
> Version in Verwendung.
>
> Hab es nun mit Globalvar gelöst. Ist zwar nicht schön aber klappt.
>
> [PIDinRootline = 1]
> temp.maintemplate = COA
> temp.maintemplate {
>  10 = COA
>  10 {
>    if.isTrue.numRows < styles.content.getRight
>  10 = TEMPLATE
>  10 {
>
>    template = FILE
>    template.file = fileadmin/templates/index.html
>    }
>  }
>  20 = COA
>  20 {
>    if.isFalse.numRows < styles.content.getRight
>  10 = TEMPLATE
>  10 {
>
>    template = FILE
>    template.file = fileadmin/templates/index-1-spalte.html
>  }
>  }
> }
> [global]
>
> Das habe ich jetzt 3 mal drinnen.
> Wollte nicht den kompletten TypoScript neu aufbauen, Da ich bei dem
> Projekt nur eingesprungen bin und das Update durchgeführt habe und das
> Template angepasst habe,
>
> Liebe Grüße


More information about the TYPO3-german mailing list