[TYPO3-english] config.titleTagFunction function called before my extension.

Nathan L typo3 at k9tfk.com
Tue Dec 23 21:21:29 CET 2008


Hello Typo3 list,
I'm stumped on this one. Hopefully someone can point me in the right
direction.  (Google and trial/error didn't help much.)

I have an extension that needs to alter the page title.  It does this by
altering the "title" string $GLOBALS['TSFE']->page['title'].

Then I use a small function set using config.titleTagFunction to set the
page title from  $GLOBALS['TSFE']->page['title'].   This has worked great
for many extensions, but this latest one isn't working!

The new extension is a user_* extension.  I put it near the beginning of the
$TYPO3_CONF_VARS['EXT']['extList'] variable.  The extension works great, but
it executes AFTER the config.titleTagFunction so the title remains the same
no matter how much I modify the TSFE->page['title'] variable.

Is there any way to force the config.titleTagFunction to execute as the last
thing on the page so other extensions can alter the title first?

All my other extensions work in the same manner, but they execute before the
title gets set so haven't had this problem.

Thanks for any suggestions,
--Nathan

-- 
Nathan L
typo3 at k9tfk.com


More information about the TYPO3-english mailing list