TYPO3:在插件中隐藏“插件模式"和“记录存储页面" [英] TYPO3: hide 'Plugin Mode' and 'Record Storage Page' in a plugin
问题描述
我想知道是否可以在插件中隐藏插件模式"和记录存储页面"部分(托盘?).
I was wondering if it is possible to hide both the 'Plugin Mode' and 'Record Storage Page' sections (pallets?) inside a plugin.
当我的 flexform 配置中只有一个设置时,当看到这两个大部分时几乎会被忽略.在很多情况下,从插件中删除这种混乱"会很棒.
When I only have one setting in my flexform configuration, it is almost overlooked when having these two large sections visible. In a lot of cases it would be great to remove such 'clutter' from the plugin.
推荐答案
这可以通过更改 TCA 来实现.将此添加到 Configuration/TCA/Overrides/tt_content.php
This is possible by changing the TCA.
Add this to Configuration/TCA/Overrides/tt_content.php
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']['news_pi1']
= 'recursive,select_key,pages'
当然你需要把news_pi1
改成你的插件配置名称.
of course you need to change news_pi1
to the plugin configuration name of yours.
我从我的扩展程序news 中拿了这个例子.
这篇关于TYPO3:在插件中隐藏“插件模式"和“记录存储页面"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!