Return to Snippet

Revision: 6197
at May 6, 2008 17:33 by jsegars


Initial Code
if($this->conf['substitutePageTitle']==1){
  $GLOBALS['TSFE']->page['title'] = $this->getTitle();
  $GLOBALS['TSFE']->indexedDocTitle = $this->getTitle();
}

Initial URL

                                

Initial Description
The following snippet assumes a Typoscript option named "substitutePageTitle".  When set, the page title will be dynamically generated.

Initial Title
Setting the page title from a plugin

Initial Tags

                                

Initial Language
PHP