【发布时间】:2012-12-13 05:49:37
【问题描述】:
我正在尝试通过打字稿在 TYPO3 CMS 6.0 上使用 extbase 插件。我使用了以下代码,我发现它在整个网络上都重复了:
10 = USER
10 {
userFunc = tx_extbase_core_bootstrap->run
pluginName = Sermons
extensionName = VmfdsSermons
switchableControllerActions {
Sermon {
1 = byLatestSeries
2 = list
3 = show
}
}
但是,这只会给我以下错误:
#1289386765: Could not analyse class:Tx_VmfdsSermons_Controller_SermonController maybe not loaded or no autoloader?
在我看来,tx_extbase_core_bootstrap->run 似乎还没有使用命名空间,因此尝试加载一个名为 Tx_VmfdsSermons_Controller_SermonController 的类,而它本应调用 \TYPO3\VmfdsSermons\Controller\SermonController。有没有办法解决这个问题?
【问题讨论】:
标签: typo3 typoscript extbase