[TYPO3-mvc] POST/GET vars

Bastian Waidelich bastian at typo3.org
Thu Oct 28 10:06:32 CEST 2010


Dawid Pacholczyk wrote:

Hi Dawid,
I think, you misunderstood me ;)

> Ext key: dp_poster
> Ext name: Poster
>
> How can I get plugin name ? Where is it set ?

It depends on how you named it ;)
Somewhere in your ext_localconf.php you should find the configuration of 
your plugin(s). S.th. like
Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'FooBar',
	array('Controller1' => 'index,someOtherAction')
);

Now your plugin name would be "FooBar".


> Cause I tried something like that
>
> plugin.tx_dpposter_plugin.view.tx_dpposter_dpposter = tx_ttnews
>
> and
>
> plugin.tx_dpposter.view.tx_dpposter_dpposter = tx_ttnews

When I wrote
"plugin.tx_yourext.view.pluginNamespace = tx_ttnews"

I should have mentioned, that you only have to replace "tx_yourext" with 
your extension namespace. So in your example it would be:

plugin.tx_dpposter.view.pluginNamespace = tx_ttnews

or

plugin.tx_dpposter_foobar.view.pluginNamespace = tx_ttnews (where you 
replace "foobar" with your plugin name (lowercased)


Does that work?
Bastian


More information about the TYPO3-project-typo3v4mvc mailing list