-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Group Plugins #433
base: master
Are you sure you want to change the base?
Group Plugins #433
Conversation
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.4/Feature-91008-ItemGroupingForTCASelectItems.html Or would it be better to add this in TCA configuration directly but its not clear to me how to do this.
@@ -4,5 +4,6 @@ | |||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( | |||
'TestExtension', | |||
'Testplugin', | |||
'Test plugin' | |||
'Test plugin', | |||
'EXT:testExtension/Resources/Public/Icons/user_plugin_testplugin.svg' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extension key must be test_extension
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTcaSelectItemGroup( | ||
'tt_content', | ||
'list_type', | ||
'<k:format.lowercaseFirst>{extension.extensionName}</k:format.lowercaseFirst>', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use inline notation
<f:for each="{extension.Plugins}" as="plugin"> | ||
\TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerPlugin( | ||
'{extension.extensionName}', | ||
'<k:format.uppercaseFirst>{plugin.key}</k:format.uppercaseFirst>', | ||
'<k:format.quoteString>{plugin.name}</k:format.quoteString>' | ||
'<k:format.quoteString>{plugin.name}</k:format.quoteString>', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use inline notation
@ste101 it may surprise you but I just felt like I should ask you if you want to join the extension builder team? |
Thank you, its an honor. |
if you want, I can add you to our private slack channel where we discuss internals. just ping me on slack (simonschaufi) |
135b509
to
62c8064
Compare
https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.4/Feature-91008-ItemGroupingForTCASelectItems.html
Or would it be better to add this in TCA configuration directly but its not clear to me how to do this.