[TYPO3-mvc] Caching Problem

Xavier Perseguers typo3 at perseguers.ch
Fri Jul 3 14:54:18 CEST 2009


Hi,

> Ist just my plain stupidity! I didnt, notice that the function
> Tx_Extbase_Utility_Plugin::registerPlugin() is in ext_table.php but should
> be in ext_localconf.php.

When you read Tx_Extbase_Utility_Plugin::registerPlugin comments, it is 
written:

"FOR USE IN ext_tables.php FILES"

Thus, you were right, just as I was!

Funny, I'm sure I tested this change once but did not notice any solve.

Part of registerPlugin code is t3lib_extMgm::addPlugin() call which 
should be put into ext_tables for standard FE plugins. But it's right 
that for standard PI plugins, a call to

t3lib_extMgm::addPItoST43

is made inside ext_localconf.php. I don't see such call inside 
registerPlugin, perhaps because it's not needed as the Extbase-based 
plugin is called via a dispatcher through TS configuration which is 
added in ext_tables.php.

> I just took the Blogexample as a template without thinking about it.

That's the purpose of documentation *and* examples, isn't it?

> If you put your Tx_Extbase_Utility_Plugin::registerPlugin() - Function in
> the ext_localconf.php everything is working nice.

I can confirm that USER and USER_INT plugins seems now to work (don't 
want to be too positive until it works for a while :D). How strange!

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-project-typo3v4mvc mailing list