[TYPO3-core] RFC #11316: Feature: Add a "No Frame" option [css styled content]

Susanne Moog typo3 at susannemoog.de
Mon Apr 5 20:58:27 CEST 2010


Hi Francois,

On 05.04.2010 20:33, Francois Suter wrote:
> Hi,
> 
> This sounds perfectly fine to me, as it is one of the first things I did
> when upgrading my sites to 4.3.
> 
> I'm just hesitant about one part of the patch however, the one where you
> change the item lists of section_frame:
> 
> Index: typo3/sysext/css_styled_content/ext_tables.php
> ===================================================================
> --- typo3/sysext/css_styled_content/ext_tables.php    (revision 7196)
> +++ typo3/sysext/css_styled_content/ext_tables.php    (working copy)
> @@ -13,4 +13,7 @@
>  t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v3.9/', 'CSS Styled
> Content TYPO3 v3.9');
>  t3lib_extMgm::addStaticFile($_EXTKEY, 'static/v4.2/', 'CSS Styled
> Content TYPO3 v4.2');
> 
> +$TCA['tt_content']['columns']['section_frame']['config']['items'][0] =
> Array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.0',
> '0');
> +$TCA['tt_content']['columns']['section_frame']['config']['items'][9] =
> Array('LLL:EXT:css_styled_content/locallang_db.php:tt_content.tx_cssstyledcontent_section_frame.I.9',
> '66');
> +
>  ?>
> 
> Why not add this straight to the original definition (in
> typo3/sysext/cms/tbl_tt_content.php)? I know the new options are more
> strictly related to css_styled_content, but which impact could these
> options have (especially now that the old static templates are gone)?

I'd then rather go the other way and move all the frame definitions out
of the core and into css_styled_content (and probably add the necessary
ones to the static templates extension) as they don't make sense at all
without either extension installed.

There are actually some other definitions I'd move to the static
templates extension (like the table background colors) because they just
clutter up the core and I don't think they are really used much (who
really uses tables with predefined background color "silver"?).

What do you think? (and should we discuss this in dev list instead of here?)

Susanne



More information about the TYPO3-team-core mailing list