I wrote an extension, and the implementation of the plugin through the backend does everything right.
But when I try to implement my extension through typoscript, I get this error every time:
An error has occurred!
The default controller cannot be defined. Please check Tx_Extbase_Utility_Extension :: configurePlugin () in your ext_localconf.php.
and I donβt know why .. I tried different implementations (for tx_extbase_core_bootstrap-> run or tx_extbase_dispatcher-> it sends with and without additional information), and the current typoscript looks like this:
plugin.tx_graphichmenu { settings { menuUid = 1 } } lib.tx_graphichmenu = USER lib.tx_graphichmenu { userFunc = tx_extbase_core_bootstrap->run extensionName = Graphichmenu pluginName = Graphicmenu controller = MenuController action = showAction } temp.mainTemplate.subparts.stickyfooter < lib.tx_graphichmenu
I checked everything twice and thrice, and I did not find a single error ... I tried it without a part of the "action" and the "controller" and nothing changed
my configurePlugin part in ext_localconf.php looks like this:
Tx_Extbase_Utility_Extension::configurePlugin( $_EXTKEY, 'Graphicmenu', array( 'Menu' => 'show', ),
The show action has no parameters. there I load the ts settings, from where I get the Uid of the object to display
PS: after each change, I cleared the cache and deleted the temp_CACHED _... files in typo3conf
source share