[TYPO3-mvc] How to get arguments from another pluginName controller request
Dmitry Dulepov
dmitry.dulepov at gmail.com
Wed Feb 23 11:25:19 CET 2011
Hi!
Marc Bastian Heinrichs wrote:
> But why you want to do this? I don't that this would be an clean concept
> in extbase.
I can give a use case. It is not Extbase-related but it comes from a real
project.
There is a community site with user profile pages, that are implemented
using many plugins. Each page has a sidebar that shows user's profile
summary. Main content is generated by different plugins (over 20 kinds of
them). All plugins (incl. sidebar) use a common URL parameter to get the id
of the user to display. It is not possible to use a different parameter for
each plugin/page because:
- the sidebar will have to know them all
- RealURL confioguration will be a nightmare
One solution would be to create a service that returns the user but it adds
more complexities to the system and causes other issues. So having a common
parameter is technically the most feasible solution.
--
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/
More information about the TYPO3-project-typo3v4mvc
mailing list