Posted By

jsegars on 05/06/08



Versions (?)

Setting the page title from a plugin

 / Published in: PHP

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

  1. if($this->conf['substitutePageTitle']==1){
  2. $GLOBALS['TSFE']->page['title'] = $this->getTitle();
  3. $GLOBALS['TSFE']->indexedDocTitle = $this->getTitle();
  4. }

Report this snippet  


RSS Icon Subscribe to comments
Posted By: NeoBlack on May 6, 2008

I think this snippet has to be placed in the category TYPO3 ;)

You need to login to post a comment.