[TYPO3-core] RFC #11316: Feature: Add a "No Frame" option [css styled content]
Francois Suter
fsu-lists at cobweb.ch
Mon Apr 5 20:33:45 CEST 2010
Hi,
> Solution:
> I propose the following solution:
> - Keep the default frame (see deeper reasons in the discussion)
> - Define a label for the default frame ("Default Frame" instead of no
> label, so one can guess that there will be a frame around the element)
> - Define a new section_frame called "No Frame" which renders the element
> like v4.2 did and which can be used for wrapper HTML elements.
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)?
Cheers
--
Francois Suter
Cobweb Development Sarl - http://www.cobweb.ch
More information about the TYPO3-team-core
mailing list