[TYPO3-mvc] show fe plugin under new content element

Ingo Franzen calculon at arcor.de
Tue Apr 26 17:40:38 CEST 2011


Hi Jacco,

in ext_tables.php it is like this:

Tx_Extbase_Utility_Extension::registerPlugin(
	$_EXTKEY,
	'Pi1',
	'Test'
);

And you also need to register the plugin in ext_localconf.php like this:

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'Pi1',
	array(
		'Fridge' => 'list, show, new, create, edit, update, delete, addFood',
	),

where Fridge is the Controller of the object Fridge and its allowed 
action (list, show, etc. ...)

I hope this is right and helps,

greetings,
Ingo

Am 26.04.2011 16:57, schrieb Jacco van der Post:
> Hi,
>
> I have a basic question, how can I can add an Extbase FE plugin to the
> list of Plugins when creating a new content element?
>
> In the old way it was by entering something like this in ext_tables.php
>
> if (TYPO3_MODE == 'BE') {
> $TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_jptest_pi1_wizicon']
> = t3lib_extMgm::extPath($_EXTKEY).'pi1/class.tx_jptest_pi1_wizicon.php';
> }
>
>
> grt Jacco



More information about the TYPO3-project-typo3v4mvc mailing list