[TYPO3-mvc] multiple instances of one plugin on the same page
Bastian Waidelich
bastian at typo3.org
Tue Jun 8 19:13:06 CEST 2010
Xavier Perseguers wrote:
Hi Xavier,
> $prefix = $this->pi_getClassName($this->cObj->data['uid']);
> $arguments = t3lib_div::_GP($prefix);
>
> Wouldn't be a solution for this case? I mean, I should be able to use
> the same plugin on a page, and run each of them completely individually
> from the others...
But sometimes you _do_ want to use the same prefix for multiple
instances of the same plugin.
IMHO it would be nice to be able to set the plugins URI namespace via
TypoScript/Flexform. That would increase flexibility and you wouldn't
have to think about it in your PHP code.
BTW that was possible in lib/div too - there it was called "designator".
Could you please file a feature request on forge?
Best
Bastian
More information about the TYPO3-project-typo3v4mvc
mailing list