[TYPO3-mvc] Include Plugin with TypoScript since TYPO3 6
Tobias Liebig
tobias.liebig at typo3.org
Thu Feb 21 17:47:18 CET 2013
Maybe this is what you're looking for:
temp.topViewedSites = USER
temp.topViewedSites {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
vendorName = Myvendor
extensionName = MyExtension
pluginName = Rate
// ...
}
Am 21.02.2013 um 16:59 schrieb Natalia Postnikova <npostnik at yahoo.de>:
> Hi list members,
>
> before TYPO3 6.0 it was possible to include a plugin written in Extbase like this:
> temp.topViewedSites = USER
> temp.topViewedSites {
> userFunc = tx_extbase_core_bootstrap->run
> pluginName = Rate
> extensionName = MyExtension
> controller = Page
> action = topViewedSites
>
> settings =< plugin.tx_myextension.settings
> persistence =< plugin.tx_myextension.persistence
> view =< plugin.tx_myextension.view
> }
>
> Now this does not work, because I'm using namespaces in my extension and the dispatcher tries to create a class object with this name: Tx_MyExtension_Controller_PageController, which of course does not exists. Instead my class is called Vendor\MyExtension\Controller\PageController.
>
> Is there another way to include a plugin with typoscript?
> How can I tell the dispatcher to search for the namespaced class instead?
>
> Thanks for any replies, best regards
> Natalia
> _______________________________________________
> TYPO3-project-typo3v4mvc mailing list
> TYPO3-project-typo3v4mvc at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-typo3v4mvc
--
Tobias Liebig // Developer -> Freelancer
etobi.de // 0175 - 41 46 447 // work at etobi.de
More information about the TYPO3-project-typo3v4mvc
mailing list