[TASK] tt_content.shortcut depends on layout 11/27211/2
authorTom Ruether <info@redscout.de>
Fri, 31 Jan 2014 17:14:41 +0000 (18:14 +0100)
committerBenjamin Mack <benni@typo3.org>
Fri, 31 Jan 2014 18:58:00 +0000 (19:58 +0100)
CSS Styled Content delivers its TypoScript
and got a cleanup in 4.6 due to removal
of old plugins.
However, the replacement (in the default
TS from 4.6 to 6.2) has superfluous code
and is not backwards-compatible if the
layout field is used differently or not used
at all (e.g. NULL value instead of 0) for
installations that have been upgraded
since 4.0.

The patch simplifies and unifies
the default TypoScript for
tt_content.shortcut.

Releases: 6.2
Change-Id: I3ed49e265329155af683a993476ffbb13226462c
Reviewed-on: https://review.typo3.org/27211
Reviewed-by: Sebastian Dudda
Tested-by: Sebastian Dudda
Reviewed-by: Benjamin Mack
Tested-by: Benjamin Mack
typo3/sysext/css_styled_content/static/setup.txt

index 50e9fe9..289705b 100644 (file)
@@ -2171,15 +2171,9 @@ tt_content.menu {
 # Should be a complete copy from the old static template "content (default)"
 tt_content.shortcut = COA
 tt_content.shortcut {
-       20 = CASE
-       20.key.field = layout
-       20.0= RECORDS
-       20.0 {
-               source.field = records
-               tables = {$content.shortcut.tables}
-       }
-       20.1= RECORDS
-       20.1 {
+
+       20 = RECORDS
+       20 {
                source.field = records
                tables = {$content.shortcut.tables}
        }