[TYPO3-ttnews] tt_news_cat

Oliver Rowlands oliver at liquidlight.co.uk
Sun Sep 7 13:32:36 CEST 2008


Hi Antonio,

Use the following TS setup:

[globalVar = GP:tx_ttnews|cat > 0]

   lib.test = RECORDS
   lib.test {
     dontCheckPid = 1
     tables = tt_news_cat
     source.data = GPvar:tx_ttnews|cat
     conf.tt_news_cat = TEXT
     conf.tt_news_cat {
       htmlSpecialChars = 1
       field = title
     }
   }

[end]

Best regards,

Oliver

Antonio Willybiro wrote:
> Hi there,
> 
> how can i get by TS the News Category title of the news currently displayed 
> (news detailed page)
> 
> I tried:
> 
> temp.newscatuid = RECORDS
> temp.newscatuid {
>     source.data = GPvar:tx_ttnews|tt_news
>     tables = tt_news
>     conf.tt_news = TEXT
>     conf.tt_news.field = category
> }
> 
> temp.newscattitle = RECORDS
> temp.newscattitle {
>     source.cObject < temp.newscatuid
>     tables = tt_news_cat
>     conf.tt_news_cat = TEXT
>     conf.tt_news_cat.field = title
> }
> 
> lib.test < temp.newscattitle
> 
> 
> But this does not work.
> 
> Any hint?
> 
> Antonio 
> 
> 


-- 
Oliver Rowlands
:: Liquid Light ::

E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk

T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35


More information about the TYPO3-project-tt-news mailing list