[TYPO3-UG Bremen] Typo3 und tt_news

Stefan Weerts contact at stefanweerts.de
Thu Oct 2 21:27:45 CEST 2008


So habe jetzt endlich eine Anzeige mit folgenden TS bekommen.
Ist wahrscheinlich nicht elegant gelöst aber funktioniert.

marks.NEWS = COA
marks.NEWS.10 = CONTENT
marks.NEWS.10 {
            table = tt_news
            select {
                # insert the pids of all pages from where you want to 
fetch news.
                # the recursive-field has no influence on this selection
                    pidInList = 29
                    orderBy = datetime asc
                    max = 1
                    }

            # insert the object only if there is no SINGLE news selected
            plugin.tt_news.templateFile = 
fileadmin/saoco/template/tt_news_template.html
            stdWrap.if.isFalse.data = GPvar:tx_ttnews|tt_news
           }
# re-insert the normal pagecontent to the page
temp.content.5 < tmp.newscontentSingle

marks.NEWS.10 {
        10 = COA
        10 < temp.content
}

Gruß
Stefan Weerts


More information about the TYPO3-UG-bremen mailing list