Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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!
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]
}
}
}
}
\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
You can’t perform that action at this time.