[FEATURE] Show contentelement "header" in wizard 37/18337/2
authorGeorg Ringer <georg.ringer@gmail.com>
Sun, 17 Feb 2013 15:03:56 +0000 (16:03 +0100)
committerXavier Perseguers <xavier@typo3.org>
Wed, 20 Feb 2013 07:23:38 +0000 (08:23 +0100)
It makes sense to show this content element in the
wizard as every other type is shown there too.

Change-Id: I983583b9c2dc519906f881a0a40c4e2af520b0c8
Resolves: #45548
Releases: 6.1
Reviewed-on: https://review.typo3.org/18337
Reviewed-by: Thomas Loeffler
Tested-by: Thomas Loeffler
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/cms/ext_localconf.php

index bc7678d..9f6625f 100644 (file)
@@ -15,6 +15,14 @@ mod.wizards.newContentElement {
        wizardItems {
                common.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common
                common.elements {
+                       header {
+                               icon = gfx/c_wiz/regular_header.gif
+                               title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_headerOnly_title
+                               description = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_headerOnly_description
+                               tt_content_defValues {
+                                       CType = header
+                               }
+                       }
                        text {
                                icon = gfx/c_wiz/regular_text.gif
                                title = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:common_regularText_title
@@ -59,7 +67,7 @@ mod.wizards.newContentElement {
                        }
 
                }
-               common.show = text,textpic,image,bullets,table
+               common.show = header,text,textpic,image,bullets,table
 
                special.header = LLL:EXT:cms/layout/locallang_db_new_content_el.xml:special
                special.elements {