I want the subheader to show up in my extension's content manager (Typo3 6.2.11 CMS backend). I therefore added the following line in ext_tables.php of my custom extension:
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addFieldsToPalette('tt_content','header','--linebreak--,subheader;LLL:EXT:cms/locallang_ttc.xlf:subheader_formlabel','after:header');
This helped me show subheader in my extension, but it is now also showing in the default content types which is undesired. How can I make it show up only inside my extension without affecting the other settings of default content types? Besides, I still need to rename subheading to something else. Any help would be appreciated.
You may override the TCA of tt_content with your own extension, by placing tt_content.php in your_ext/Configuration/TCA/Overrides folder with following content:
Just exchange
your_ext_signature
with real signature, which you can find in DB for your plugin content element.Read more about displayCond