/ Published in: PHP
![](/img/icon_sav.png?v3)
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(); }
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)