如何在 TYPO3 中禁用一页的扩展 [英] How to disable an extension for one page in TYPO3
问题描述
在一页中安装的两个扩展之间存在冲突.我只想为此特定页面禁用其中一个扩展.
There is a conflict between two installed extentions in one page. I want to disable one of the extentions only for this specific Page.
有没有办法做到这一点?也许在后端模板中以某种方式?
Is there a way to accomplish this? Maybe somehow in Backend Templates?
推荐答案
在您要禁用扩展的页面上,您可以创建一个模板,您可以在其中通过 TypoScript 禁用扩展:
On the page where you want to disable the extension you can create a template where you disable the extension by TypoScript:
plugin.tx_badextension >
tt_content.list.20.tx_badextension >
这是递归的,这意味着该代码段包含在模板中的页面的所有子页面也被关注.如果您想再次在子页面上启用该插件,则必须在其中包含扩展程序的 TypoScript.
This works recursive, that means all sub-pages of the page where this snippet is included in a template are concerned too. If you want to enable the plugin on a sub-page again, you've to include there the TypoScript of the extension.
也可以只在几个页面上而不是在根页面中包含扩展的 TypoScript.但是配置总是继承的,如果插件要在子页面上激活或停用,则必须颠倒.
It's also possible to include the extension's TypoScript only on a few pages and not in the root-page. But the configuration is always inherited and has to be inversed if the plugin shall be activated or deactivated on sub-pages.
这篇关于如何在 TYPO3 中禁用一页的扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!