Zum Inhalt springen

template1; template2;... und layout1;2;3;...

Erstellt am 8. Dezember 2004 · Noch keine Antworten

Tags: Frage

Space-Teddy ·

einen hübschen guten morgen

kurz und schmerzlos

[globalVar = TSFE:page|layout = 1] 
page.10.template.file = fileadmin/usertemplates/template1.html 
[global]

ist das dann automatisch der standard ??

hatte die templates vorher so eingebunden:

page.stylesheet = fileadmin/usertemplates/style.css
page.typeNum = 0
page.headerData.10 = TEXT
page.headerData.10.value = <link rel="stylesheet" href="fileadmin/usertemplates/style.css" type="text/css"  media="screen">
page.bodyTag = <body class="body_template1"> 
page.10 = TEMPLATE 
page.10 {   
  template = FILE  
  template.file = fileadmin/usertemplates/template.html   
  workOnSubpart = DOCUMENT_BODY 
} 
[globalVar = TSFE:page|layout = 2] 
page.10.template.file = fileadmin/usertemplates/template2.html 
[global]
[globalVar = TSFE:page|layout = 3] 
page.10.template.file = fileadmin/usertemplates/template3.html 
[global]
[globalVar = TSFE:page|layout = 4] 
page.10.template.file = fileadmin/usertemplates/template4.html 
[global]
[globalVar = TSFE:page|layout = 5] 
page.10.template.file = fileadmin/usertemplates/template5.html 
[global]

und wenn der obere code standard wäre könnte ich das hier:

page.10 {   
  template = FILE  
  template.file = fileadmin/usertemplates/template.html   
  workOnSubpart = DOCUMENT_BODY 
}

;doch raus nehemen oder ?

danke für eure hilfe ..
daniel