[TYPO3] Getting title out of tt_news

Patrick Schl ä pfer patrick at schlaepfer.com
Mon Feb 25 00:58:46 CET 2008


I'm trying to get the title out of the tt_news table.
Using typo3 4.1.5

My approach is:

In the setup of the template

seite.untertitel = TEXT
seite.untertitel {
   table = tt_news
   select {
      pidInList = 2
      selectFields = title
      where = uid= 14
   }
   wrap = <title> huhu | </title>
}

But it's empty. The news record is on pid=2 and the uid on this page is 14.
Any ideas...? 
The title is just huhh...




More information about the TYPO3-english mailing list