Last active
January 29, 2021 08:49
-
-
Save manuelselbach/1597680145f846bef3a2 to your computer and use it in GitHub Desktop.
Register Plugin in new Element Wizard made simple! The file "ContentElementWizard.txt" should be located under "[extension_key]/Configuration/TSconfig/ContentElementWizard.txt" for this example. All the TYPO3 standard plugin registration stuff has also to be done. Have fun!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod.wizards.newContentElement.wizardItems.plugins { | |
elements { | |
[extension_key] { | |
icon = ../typo3conf/ext/[extension_key]/Resources/Public/Icons/icon.png | |
title = LLL:EXT:[extension_key]/Resources/Private/Language/locallang_be.xlf:plugin_title | |
description = LLL:EXT:[extension_key]/Resources/Private/Language/locallang_be.xlf:plugin_description | |
tt_content_defValues { | |
CType = list | |
list_type = [extensionkey]_[pluginname] | |
} | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig('<INCLUDE_TYPOSCRIPT: source="FILE:EXT:[extension_key]/Configuration/TSconfig/ContentElementWizard.txt">'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A Google search brought me to this page.
Please add which TYPO3 version this is for or keep it updated. The above example is outdated:
Also, this is documented in the official documentation: