[TYPO3-dev] Reversible rootline in TITLE

John Angel johnange at gmail.com
Wed Feb 21 21:24:30 CET 2007


Thank you Christopher!

Here it is:

TS change:

 wrap =
 1.NO.allWrap= |***|*||*| |

PHP code:

function reverseRootline($content, $conf)
 {
  $str = explode('***', trim($content));
  if(sizeof($str)>1)
  {
   $str = array_reverse($str);
   $content = implode (' - ', $str);
  }
  return '<title>' . $content . '</title>';
}

Regards,
John




More information about the TYPO3-dev mailing list