[FEATURE] Add categories-based menu
[Packages/TYPO3.CMS.git] / typo3 / sysext / css_styled_content / static / setup.txt
index 7a50d00..27fe6cc 100644 (file)
@@ -1938,12 +1938,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 {