[TYPO3-german] tt_news: list und Single auf einer Seite (2 Contentspalten), aber kein "Default news id"

Andreas Burg typo3 at andreasburg.de
Sat Nov 22 20:09:14 CET 2008


Hallo Michael,

ich hab zwar nicht exakt die gleiche Situation, vielleicht hilft es ja trotzdem. Ich habe das 
Beispiel aus dem Manual genommen und es für mich modifiziert.

Rechts habe ich Latest (mit max=1) anstatt List. Eingefügt auf Root und geslidet.

# normaler Content (Spalte Mitte)
lib.inhalt.20 < styles.content.get
lib.inhalt.20.select.where = colPos  = 0

# content für die Seite mit dem SingleView
[globalVar = TSFE:id = 126]
   plugin.tt_news._LOCAL_LANG.default.noNewsIdMsg =
   plugin.tt_news._LOCAL_LANG.de.noNewsIdMsg =
   lib.inhalt {
     30 = CONTENT
     30.table = tt_news
     30.select {
       # BE-Ordner mit den News
       pidInList = 125,133,134
       orderBy = datetime desc
       max = 1
     }
     30.stdWrap.if.isFalse.data = GPvar:tx_ttnews|tt_news
   }
[global]

Andreas


More information about the TYPO3-german mailing list