[BUGIFX] Missing rendering for newer menus 74/23674/2
authorFrancois Suter <francois@typo3.org>
Sun, 8 Sep 2013 14:22:14 +0000 (16:22 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Thu, 19 Sep 2013 06:11:42 +0000 (08:11 +0200)
Rendering is missing in css_styled_content for menu types
8 and 9 (introduced in 6.0 and 6.2 respectively) for older
versions of the static templates (i.e. below 6.0).

Add them down to 4.5.

Resolves: #51837
Releases: 6.2
Change-Id: I5f6f9068ceb89851c67b3c1ee2bd580936498c70
Reviewed-on: https://review.typo3.org/23674
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
typo3/sysext/css_styled_content/static/v4.5/setup.txt
typo3/sysext/css_styled_content/static/v4.6/setup.txt
typo3/sysext/css_styled_content/static/v4.7/setup.txt

index 654227d..718a0a2 100644 (file)
@@ -1521,6 +1521,25 @@ tt_content.menu {
                                NO.wrapItemAndSub = <li class="csc-section">|</li>
                        }
                }
+
+               # "Sitemaps of selected pages - liststyle"
+               8 < .2
+               8 {
+                       special = directory
+                       special.value.field = pages
+               }
+
+               # Menu of categorized pages
+               9 < .default
+               9 {
+                       special = categories
+                       special.value.field = selected_categories
+                       special.sorting = title
+                       special.order = asc
+                       stdWrap {
+                               outerWrap = <ul class="csc-menu csc-menu-9">|</ul>
+                       }
+               }
        }
 
        20.stdWrap {
index 669695b..8d8ff4b 100644 (file)
@@ -119,7 +119,7 @@ lib.parseFunc_RTE {
                        # Recursive call to self but without wrapping non-wrapped cell content
                        default.stdWrap {
                                parseFunc =< lib.parseFunc_RTE
-                               parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag = 
+                               parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag =
                        }
                        addChr10BetweenParagraphs=1
                }
@@ -1471,6 +1471,25 @@ tt_content.menu {
                                NO.wrapItemAndSub = <li class="csc-section">|</li>
                        }
                }
+
+               # "Sitemaps of selected pages - liststyle"
+               8 < .2
+               8 {
+                       special = directory
+                       special.value.field = pages
+               }
+
+               # Menu of categorized pages
+               9 < .default
+               9 {
+                       special = categories
+                       special.value.field = selected_categories
+                       special.sorting = title
+                       special.order = asc
+                       stdWrap {
+                               outerWrap = <ul class="csc-menu csc-menu-9">|</ul>
+                       }
+               }
        }
 
        20.stdWrap {
index 6b3e3f4..26f8b22 100644 (file)
@@ -133,7 +133,7 @@ lib.parseFunc_RTE {
                        # Recursive call to self but without wrapping non-wrapped cell content
                        default.stdWrap {
                                parseFunc =< lib.parseFunc_RTE
-                               parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag = 
+                               parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag =
                        }
                        addChr10BetweenParagraphs=1
                }
@@ -1950,6 +1950,25 @@ tt_content.menu {
                                NO.wrapItemAndSub = <li class="csc-section">|</li>
                        }
                }
+
+               # "Sitemaps of selected pages - liststyle"
+               8 < .2
+               8 {
+                       special = directory
+                       special.value.field = pages
+               }
+
+               # Menu of categorized pages
+               9 < .default
+               9 {
+                       special = categories
+                       special.value.field = selected_categories
+                       special.sorting = title
+                       special.order = asc
+                       stdWrap {
+                               outerWrap = <ul class="csc-menu csc-menu-9">|</ul>
+                       }
+               }
        }
 
        20.stdWrap {