[TYPO3-english] Custom page title from tt_news

Kay Strobach typo3 at kay-strobach.de
Mon Oct 31 20:12:52 CET 2011


There is a simple ts option to use the news title as page title !?

Am 31.10.2011 19:58, schrieb Mike Minckler:
> Hello List,
>   I have upgraded to typo3 4.6 and tt_news 3.1. One of the upgrades has
> caused my custom page title TS to stop working. I was using RECORDS to
> pull the title field from tt_news and add it to the page title. Any
> ideas as to why this is now broken?
> 
> Thanks,
> Mike
> 
> temp.newsTitle = COA
> temp.newsTitle {
>  10 = RECORDS
>  10 {
>    source = {GPvar:tx_ttnews|tt_news}
>    source.insertData = 1
>    tables = tt_news
>    conf.tt_news >
>    conf.tt_news = TEXT
>    conf.tt_news.field = title
>    }
>  }
>  temp.newsTitle.wrap = <title>|</title>
>  page.headerData.15 < temp.newsTitle
> 


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answere was usefull: https://flattr.com/profile/kaystrobach


More information about the TYPO3-english mailing list