[TYPO3-50-general] Two plugins on the same page

Piseth Sok piseth at web-essentials.asia
Tue Feb 5 03:15:06 CET 2013


Hi Bastian,

It works now.

I just add argumentNamespace as below:

prototype(W.Plugin:Plugin) < prototype(TYPO3.Neos.ContentTypes:Plugin)
prototype(W.Plugin:Plugin) {
      package = 'W.Plugin'
      controller = 'Standard'
      action = 'index'
      argumentNamespace = 'Plugin1'
}

Cheers,
Piseth

On 02/01/2013 06:35 PM, Bastian Waidelich wrote:
> Piseth Sok wrote:
>
> Hi Piseth,
>
>> When I click on link action of plugin2 then the result is that:
>> plugin1 and plugin2 display the same result.
>
> you can change the "namespace" of a plugin in the related node properties.
> Only if no "argumentNamespace" is defined, the class name of the plugin
> object is used. see [1]
>
> But please keep in mind that the plugin integration is experimental yet
> and subject to change.
>
>
> [1]
> http://git.typo3.org/FLOW3/Packages/TYPO3.Phoenix.ContentTypes.git/blob/HEAD:/Classes/TYPO3/Neos/ContentTypes/TypoScript/PluginImplementation.php#l232
>
>
>



More information about the TYPO3-project-5_0-general mailing list