[TYPO3] count tt_news records

Roberto Torresani erreti at gmail.com
Wed Dec 19 15:54:50 CET 2007


Hi all!

I need to count the records in my list of the news, and if this number is <
3 add a other content.
I do some test, but I can't arrive to the target.

What must I do with typoscript?

For example I try to count the records of news with:

page.10.subparts.CONTENT = TEXT
page.10.subparts.CONTENT.value {
         numRows  {
             table = tt_news
             }
    }


What is my error?

Thanks very much
Roberto


More information about the TYPO3-english mailing list