[TYPO3-core] RFC: Bugfix #7297: Incomplete tabs appear in tt_content when activating dividers2tabs

Steffen Kamper steffen at sk-typo3.de
Tue Feb 5 11:37:55 CET 2008


REMINDER #1

for removing --div-- from tt_content in 4.1.
Because of missing labels this is an annoying bug.

vg  Steffen

"Francois Suter" <fsuter at cobweb.ch> schrieb im Newsbeitrag 
news:mailman.1.1201550562.11037.typo3-team-core at lists.netfielders.de...
> This is an SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=7297
>
> Branches:
> TYPO3_4-1 only
>
> Problem:
> When activating dividers2tabs in tt_content (as is done, for example, by
> the powermail extension), it suddenly appears that two content element
> types (list and textpic) have tabs defined, but without labels.
>
> Solution:
> Remove the --div-- markers for those 2 content element types
>
> Notes:
> There is a still open RFC (#6846) for introducing tabs in tt_content for
> 4.2, which is why I am submitting this bug only for 4.1 and proposing to
> remove the tabs entirely rather than to start a new discussion about the
> use of tabs. Should this RFC not be accepted, I would submit a similar
> patch for 4.2.
>
> Cheers
>
> -- 
>
> Francois Suter
> Cobweb Development Sarl - http://www.cobweb.ch
>


--------------------------------------------------------------------------------


> Index: typo3/sysext/cms/tbl_tt_content.php
> ===================================================================
> --- typo3/sysext/cms/tbl_tt_content.php (revision 2974)
> +++ typo3/sysext/cms/tbl_tt_content.php (working copy)
> @@ -963,7 +963,7 @@
>  '1' => Array('showitem' => 'CType'),
>  'header' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, 
> subheader;;8'),
>  'text' => Array('showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, 
> bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, 
> rte_enabled, text_properties'),
> - 'textpic' => Array('showitem' => 'CType;;4;button;1-1-1, 
> header;;3;;2-2-2, 
> bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, 
> rte_enabled, text_properties, --div--, image;;;;4-4-4, imageorient;;2, 
> imagewidth;;13,
> + 'textpic' => Array('showitem' => 'CType;;4;button;1-1-1, 
> header;;3;;2-2-2, 
> bodytext;;9;richtext:rte_transform[flag=rte_enabled|mode=ts_css];3-3-3, 
> rte_enabled, text_properties, image;;;;4-4-4, imageorient;;2, 
> imagewidth;;13,
>  --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgLinks;7,
>  --palette--;LLL:EXT:cms/locallang_ttc.php:ALT.imgOptions;11,
>  imagecaption;;5,
> @@ -995,7 +995,7 @@
>  pages;LLL:EXT:cms/locallang_ttc.php:pages.ALT.login;;;5-5-5'),
>  'shortcut' => Array('showitem' => 'CType;;4;button;1-1-1, 
> header;LLL:EXT:lang/locallang_general.php:LGL.name;;;2-2-2, 
> records;;;;5-5-5, layout'),
>  'list' => Array(
> - 'showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, --div--, 
> list_type;;;;5-5-5, layout, select_key, pages;;12',
> + 'showitem' => 'CType;;4;button;1-1-1, header;;3;;2-2-2, 
> list_type;;;;5-5-5, layout, select_key, pages;;12',
>  'subtype_value_field' => 'list_type',
>  'subtypes_excludelist' => Array(
>  '' => 'layout,select_key,pages', // When no plugin is selected.
> 




More information about the TYPO3-team-core mailing list