Zum Inhalt springen

mit conditons template.file abfangen bzw. abfragen

Erstellt am 7. März 2011 · 1 Antwort · letzte Antwort am 8. März 2011

Tags: Frage

thowe ·

Wie kann man mittels Condition das gerade verwendete (gerenderte) HTML-template abfragen um die CSS Datei abzuändern?

Ich stelle mir das so vor

[template.file ="index.html] #das ist natürlich - so - falsch...
 include.CSSfile = ...css
[global]

WOZU:

Ich muss aufgrund verschiedener HTML-Templates die CSS-Styles für ein und dieselbe BOX ( <div> ) verändern.

Kann mir jemand einen Tipp geben? Das wäre nett, jedenfalls einmal danke dafür.

LG & ciao...

thowe ·

kann das so in diese Richtung gehen?

[globalVar = TSFE:page|file = fileadmin/templates/index.html] 
page {
  includeCSS.file1 = fileadmin/templates/css/testcondition.css
}
[global]