I wrote an extension and the implementation of the Plugin via backend does everything correctly.
But when I try to implement my extension via typoscript I got this error everytime:
Oops, an error occurred!
The default controller can not be determined. Please check for Tx_Extbase_Utility_Extension::configurePlugin() in your ext_localconf.php.
and I don't know why.. I have tried different implementations (per tx_extbase_core_bootstrap->run or tx_extbase_dispatcher->dispatch and with additional information and without) 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 double- and triple-checked everything and i found not a single fault... tried it without the "action" and "controller" part and nothing changed
my configurePlugin part in the ext_localconf.php looks like this:
Tx_Extbase_Utility_Extension::configurePlugin(
$_EXTKEY,
'Graphicmenu',
array(
'Menu' => 'show',
),
// non-cacheable actions
array(
'Menu' => '',
)
);
The "show" action got no parameters. in there I load the ts settings from where I take the Uid of the object to display
PS: after every change i have cleared the cache and deleted the "temp_CACHED_..." files in typo3conf