From c567e2b5e4c11637bc8b7dc043f9113e7ecc62cb Mon Sep 17 00:00:00 2001 From: Lina Wolf <48202465+linawolf@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:09:29 +0200 Subject: [PATCH] [FEATURE] Auto-registration of NewContentElementWizard via TCA (#149) Related: https://github.com/TYPO3-Documentation/Changelog-To-Doc/issues/801 Releases: main --- Configuration/Sets/BlogExample/page.tsconfig | 44 -------------------- Configuration/TCA/Overrides/tt_content.php | 8 ++-- 2 files changed, 4 insertions(+), 48 deletions(-) delete mode 100644 Configuration/Sets/BlogExample/page.tsconfig diff --git a/Configuration/Sets/BlogExample/page.tsconfig b/Configuration/Sets/BlogExample/page.tsconfig deleted file mode 100644 index 7789ea2..0000000 --- a/Configuration/Sets/BlogExample/page.tsconfig +++ /dev/null @@ -1,44 +0,0 @@ -mod.wizards.newContentElement.wizardItems { - // add the content element to the tab "plugins" - plugins { - elements { - blogexample_bloglist { - iconIdentifier = blog_example_icon - title = BlogList - description = Display a list of blogs - tt_content_defValues { - CType = list - list_type = blogexample_bloglist - } - } - - blogexample_blogadmin { - iconIdentifier = blog_example_icon - title = BlogAdmin - description = Administrate the blog - tt_content_defValues { - CType = list - list_type = blogexample_blogadmin - } - } - } - } - lists { - after = default - } - menu { - after = lists - } - forms { - after = menu - } - special { - after = forms - } - plugins { - after = special - } - blog { - after = plugins - } -} diff --git a/Configuration/TCA/Overrides/tt_content.php b/Configuration/TCA/Overrides/tt_content.php index 12c2ca1..1657db7 100644 --- a/Configuration/TCA/Overrides/tt_content.php +++ b/Configuration/TCA/Overrides/tt_content.php @@ -1,10 +1,7 @@