我有 TYPO3 版本 7.6.18。我想在每个页面中插入一些插件,我想这可能与打字稿有关?请帮帮我,该怎么办?
如果您想在每个页面上插入特定的插件,您只需将其添加到您的页面中,如下所示:
page = PAGE
page{
10 = FLUIDTEMPLATE
10{
# the fluid template settings
}
# add a fixed plugin to be rendered after the normal fluid template
20 = USER
20{
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
extensionName = MyExt
vendorName = MyVendor
pluginName = Pi1
switchableControllerActions{
TheController{
0 = actionName
}
}
}
}
这基本上会在页面渲染中添加一个新部分,仅渲染您的插件。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)