ryu's blog just a few lines of code

22Apr/110

Typo3: Change page title to tt_news title

If we are on a tt_news detail view page, we want to display the tt_news title in the page title.
In this case, the page title is stored in page.headerData.100.

[globalVar = GP:tx_ttnews|tt_news > 0]
page.headerData.100.field =

temp.newsTitel = COA
temp.newsTitel {
wrap =
5 = RECORDS
5 {
source = {GPvar:tx_ttnews|tt_news}
source.insertData = 1
tables = tt_news
conf.tt_news >
conf.tt_news = TEXT
conf.tt_news.field=title
}
}

page.headerData.100 < temp.newsTitel
[global]

Tagged as: Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

No trackbacks yet.