我有一个插件http://typo3.org/extensions/repository/view/aw_consume
我将它用作它正在工作的内容元素
当我尝试分配给我的打字稿中的子部分时,什么都没有显示
LOGOUT < plugin.tx_awconsume.widgets.menu
这个插件是使用安装在 TYPO3 6.1.4 上的 extension_builder 扩展创建的
更新 3
plugin.tx_awconsume {
view {
templateRootPath = {$plugin.tx_awconsume.view.templateRootPath}
partialRootPath = {$plugin.tx_awconsume.view.partialRootPath}
layoutRootPath = {$plugin.tx_awconsume.view.layoutRootPath}
}
persistence {
storagePid = {$plugin.tx_awconsume.persistence.storagePid}
}
features {
# uncomment the following line to enable the new Property Mapper.
# rewrittenPropertyMapper = 1
}
widgets {
menu = USER
menu {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = FeAwConsume
extensionName = AwConsume
controller = ConsumerItem
action = list
vendorName = Alexweb
}
}
}
ext_tables.php
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin(
$_EXTKEY,
'FeAwConsume',
'fe_awconsume'
);
ext_localconf.php
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin(
'Alexweb.' . $_EXTKEY,
'FeAwConsume',
array(
'ConsumerItem' => 'list, show, new, create, delete',
),
// non-cacheable actions
array(
'ConsumerItem' => 'create, delete',
)
);
我已经根据@lorenz 的回答更新了代码片段,但我仍然没有得到任何输出
我也推送了 TER 0.1.5 的最新版本
更新 4
只有在添加后我才设法获得预期的输出
plugin.tx_awconsume.widgets {
menu = USER
menu {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
pluginName = FeAwConsume
extensionName = AwConsume
controller = ConsumerItem
action = list
vendorName = Alexweb
}
}
从模板打字稿文件\typo3conf\ext\aw_consume\Configuration\TypoScript\setup.txt
它最初是由 extension_builder 扩展放置的,但是我觉得这不是一个好主意