我试图通过TYPO3 CMS 6.0上的typoscript使用extbase插件.我使用了以下代码,我在网上重复了一遍:
10 = USER
10 {
userFunc = tx_extbase_core_bootstrap->run
pluginName = Sermons
extensionName = VmfdsSermons
switchableControllerActions {
Sermon {
1 = byLatestSeries
2 = list
3 = show
}
}
Run Code Online (Sandbox Code Playgroud)
但是,这只会给我以下错误:
#1289386765: Could not analyse class:Tx_VmfdsSermons_Controller_SermonController maybe not loaded or no autoloader?
Run Code Online (Sandbox Code Playgroud)
在我看来好像tx_extbase_core_bootstrap->run还没有使用命名空间,因此试图加载一个Tx_VmfdsSermons_Controller_SermonController应该调用它时调用的类\TYPO3\VmfdsSermons\Controller\SermonController.有没有解决的办法?