[TYPO3-mvc] passing value to another plugin (i.e. action not in the flow)

christian oettinger christian.oettinger at gmx.de
Sun Mar 27 15:35:46 CEST 2011


That's so great, thanks a lot!

I found it in changelog of extbase, great feature. In the end I had to use:
plugin.tx_arztcme_search.view.pluginNamespace = tx_arztcme_trainings

Now I can get the arguments by
$this->curRequest = $this->request->getArguments();

Thanks again, to all of you!



> Hey,
>
> ...
>> If I dont misinterpret your code you have two plugins and a bunch of
>> controllers.
>>
>> For GET/POST Params one plugin is using a namespace
>> 'tx_arztcme_trainings' and the other one 'tx_arztcme_search'. Is that
>> correct?
>>
>> Unfortunatly I can't tell you an easy way to map properties from one
>> namespace to the other (however there could be one). On link/action
>> viewhelpers it is easy to add arguments that are then added in the
>> proper namespace. However If I get you right you want to trigger/feed
>> two ("independent") instances of a plugin(or two different plugins) on
>> one page with the same argument. Currently you use two different Plugins
>> for that purpose.
>
> You can use the same namespace for multiple plugins. All you need is to
> set it in your TS configuration of the according plugin:
>
> tt_content.list.20.arztcme_search.pluginNamespace = Trainings
>



More information about the TYPO3-project-typo3v4mvc mailing list