magnify

cObject TEMPLATE und verschiedene Templates einbinden

Armin Bartsch, Montag, 28. Dezember 2009

Ohne zusätzliche Extension je nach Spalten unterschiedliche Template-Files einbinden

  1. page = PAGE
  2. page.10 = TEMPLATE
  3. page.10 {
  4.   template = COA
  5.   template {
  6.     10 = COA
  7.     10.if.isTrue.numRows < styles.content.getLeft
  8.     10.10 = FILE
  9.     10.10.file = fileadmin/template.html
  10.     20 = COA
  11.     20.if.isFalse.numRows < styles.content.getLeft
  12.     20.10 = FILE
  13.     20.10.file = fileadmin/template_2.html
  14.    
  15.   }
  16. }

Entwicklungsumgebung

TYPO Version:
4.3.0
magnify

Kommentare

Ins Gästebuch eintragen
Kein Kommentar vorhanden

MERKLISTE

Login

Anmelden

Sponsored by:

ideenwerft webhosting

Wunschzettel