[TYPO3-german] Templates per Condition zuweisen

"Ingo Preuß" preuss at zedat.fu-berlin.de
Thu Apr 28 20:55:31 CEST 2011


Hallo,
beim aktuellen Projekt existieren eine Vielzahl von Templates, welche ich
per Condition zuweisen will. Ich fand folgendes Beispiel:

page = PAGE
page {
typeNum = 0
10 = TEMPLATE
10.template = FILE
10.template.file = fileadmin/index.html
10.workOnSubpart = DOKUMENT
10.marks {
...
}
}

[globalVar = TSFE:page|layout = 0]
    page.10.template.file = fileadmin/index.html
[global]
[globalVar = TSFE:page|layout = 1]
    page.10.template.file = fileadmin/1.html
[global]
[globalVar = TSFE:page|layout = 2]
    page.10.template.file = fileadmin/2.html
[global]

Stehen 0,1,2 für PID's? Falls nein, an welcher Stelle weise ich die
Templates zu?

Gruß, Ingo

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

Ingo Preuss
Rigaer Strasse 65
10247 Berlin

0163.160 51 03




More information about the TYPO3-german mailing list