[FLOW3-general] Handling multiple instances of 'plugins' on a page

Jigal van Hemert jigal at xs4all.nl
Thu Oct 13 08:47:26 CEST 2011


Hi,

I'm not sure how FLOW3 / Phoenix handles the v4 concept of plugins as 
content elements on a page, but there is an old pain which pops up from 
time to time. Hopefully this can be supported inside FLOW3 / Extbase 
somehow:

In some sites there are more instances of the same 'plugin' on a page. 
When these instances want to communicate something to the next page 
which is called both instances use exactly the same GET/POST parameters.

Is it possible to have some native support to create a kind of unique 
GET/POST parameters per instance? Maybe have the possibility to have a 
prefix an editor can set which is automatically stripped before the 
plugin handles the parameters?
In pi_base terms: the GET/POST parameters with prefixId are stored in 
the piVars array. If for example a configurable instanceId was added to 
prefixId then there could be unique piVars for a particular instance of 
a plugin.

This is not only relevant for form handling, but also in selecting the 
record for detail view, sorting in lists, etc.

What do you think?

-- 
Kind regards / met vriendelijke groet,

Jigal van Hemert.


More information about the FLOW3-general mailing list