There are many discussions at forums concerning setting the title of the page from the USER_INT plug level. The problem is that the USER_INT type extensions are generated every time the page is refreshed after TYPO3 generates the headline of the page containing a tag title. A good example may be the mm_forum, where each thread in a standard installation has the same title, and not the name of the topic as we wish for.
The solution is quite simple We should add the following code to the code of our USER_INT plug:
$GLOBALS[‘TSFE’]->additionalHeaderData[‘title’] = ‘<title>’.htmlspecialchars($title).’ – my page</title>’;
Then in the Typoscript template for the single view page we should add such TS code:
config.noPageTitle = 2
If we look into the cache_pages table now and find the cached single view page contents, we will see that the following marker appears in the headline of the page
Instead, the USER_INT plug will now generate our title.