[TYPO3-german] Page Template Selector -> isFalse

Sven Knodt cool at zwenn.de
Thu Feb 2 13:33:08 CET 2006


Hallo,

Ich möchte gerne einen Text erscheinen lassen, wenn auf einer  
bestimmten Seite kein Inhalt vorhanden ist.
So weit so gut. Das klappt mit:

temp.nojobs = COA
temp.nojobs {
               if.isFalse.numRows {
                                          table = tt_content
                                          select.uidInList = 637
                                             }
               10 = RECORDS
               10 {
                      wrap = |
                      tables = tt_content
                      source = 1678
                      dontCheckPid = 1
                     }
                  }

page.5 < temp.nojobs

Mein Problem ist jetzt allerdings, dass ich den Page Template  
Selector einsetze und irgendwie nicht so recht weiss wo ich ansetzen  
soll damit das Content-Element im Template auf seinem Platz erscheint?

temp.contentAreaTemplate = TEMPLATE
temp.contentAreaTemplate {
…
subparts.colNormal < styles.content.get
…
}

temp.mainTemplate  = TEMPLATE
temp.mainTemplate {
…
subparts.content < temp.contentAreaTemplate
…
}

page = PAGE
page {

…

    10 < temp.mainTemplate
}



Viele Grüße
;o) Sven




More information about the TYPO3-german mailing list