[TYPO3-mvc] URLs for Several Content Elements of the same Extension with Extbase on one Page
David Bruchmann
david at bruchmann-web.de
Fri Jul 30 13:31:39 CEST 2010
----- Ursprüngliche Nachricht -----
Von: Steffen Ritter <info at rs-websystems.de>
Gesendet: Freitag, 30. Juli 2010 07:34:05
Betreff: Re: [TYPO3-mvc] URLs for Several Content Elements of the same
Extension with Extbase on one Page
> Hey David,
>
> Extbase "Urlbuilding" uses foolowing:
>
> tx_ at controllerExtensionsName_@controllerPluginName
>
> configuring your Plugin you do:
> Tx_Extbase_Utility_Extension::configurePlugin(
> $_EXTKEY, <<-- controllerExtensionName
> 'Pi1', <<-- PluginName
> ....
> );
>
>
> The Plugin-Name is needed for initial-Configuration of the Framework.
> But afterwards you may reset it (untested):
>
> Tx_myExt_OwnDispatcher extends Tx_Extbase_Dispatcher {
> public function getPreparedController($request) {
> if(is_array($this->cObj->data)= {
> $request->setPluginName('c' . $this->cObj->data['uid']);
> }
> return parent::getPreparedController($request);
> }
> }
>
Hey Steffen,
thanks for your tip and for searching the right classes.
I'll have a deeper look at it a bit easier now :)
Best Regards,
David
More information about the TYPO3-project-typo3v4mvc
mailing list