I was wondering if it is possible to hide both the 'Plugin Mode' and 'Record Storage Page' sections (pallets?) inside a plugin.
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.
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'
of course you need to change news_pi1
to the plugin configuration name of yours.
I took the example from my extension news.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With