[TYPO3] pagetitle and tt_news

Dmitry Martynenko dima at realt.by
Fri May 30 17:11:21 CEST 2008


Hi Dieter,

DJ> I found this piece of ts to get the domain name before the page title.

DJ> config.noPageTitle = 2
DJ> page.headerData.5 = TEXT
DJ> page.headerData.5.field = subtitle // title
DJ> page.headerData.5.wrap = <title>Domain.com: &nbsp; |</title>

DJ> However it does not work for a tt_news article.
DJ> The pagetitle then becomes:  Domain.com:newsarticle (newsarticle is the
DJ> page where I show single view of an article)

1. Remove this lines from setup.
2. Enter you "domain name" to "Website title" field in root template
record (change in news page template may work too).
3. Check if you tt_news placed as USER plugin (not USER_INT)!
4. Set substitutePagetitle property to 1

plugin.tt_news = USER
plugin.tt_news {
  substitutePagetitle = 1
}

-- 
Dmitry Martynenko
Developer

Web: http://realt.by



More information about the TYPO3-english mailing list