/ Published in: PHP
The following snippet assumes a Typoscript option named "substitutePageTitle". When set, the page title will be dynamically generated.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if($this->conf['substitutePageTitle']==1){ $GLOBALS['TSFE']->page['title'] = $this->getTitle(); $GLOBALS['TSFE']->indexedDocTitle = $this->getTitle(); }