Added feature #6147: Sitemaps/Menu of subpages with active state (Part II)
authorSusanne Moog <typo3@susannemoog.de>
Thu, 4 Nov 2010 20:06:39 +0000 (20:06 +0000)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 4 Nov 2010 20:06:39 +0000 (20:06 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9280 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/css_styled_content/static/v4.3/setup.txt

index 534d870..4ccbe3d 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 2010-11-04  Susanne Moog <typo3@susanne-moog.de>
 
        * Added feature #1333: stdWrap.age should differenciate between singular/plural
-       * Added feature #6147: Sitemaps/Menu of subpages with active state - Prerequisite (Part I): new csc version template
+       * Added feature #6147: Sitemaps/Menu of subpages with active state
 
 2010-11-04  Steffen Gebert  <steffen@steffen-gebert.de>
 
index d21d277..72bd5ec 100644 (file)
@@ -1396,11 +1396,16 @@ tt_content.menu {
                        1 = TMENU
                        1 {
                                target = {$PAGE_TARGET}
+                               NO = 1
                                NO {
                                        stdWrap.htmlSpecialChars = 1
                                        wrapItemAndSub = <li>|</li>
                                        ATagTitle.field = description // title
                                }
+                               ACT < .NO
+                               ACT.wrapItemAndSub = <li class="csc-menu-active">|</li>
+                               CUR < .ACT
+                               CUR.wrapItemAndSub = <li class="csc-menu-current">|</li>
                                noBlur = 1
                        }
                }
@@ -1422,11 +1427,16 @@ tt_content.menu {
                                noBlur = 1
                                expAll = 1
                                wrap = <ul>|</ul>
+                               NO = 1
                                NO {
                                        stdWrap.htmlSpecialChars = 1
                                        wrapItemAndSub = <li>|</li>
                                        ATagTitle.field = description // title
                                }
+                               ACT < .NO
+                               ACT.wrapItemAndSub = <li class="csc-menu-active">|</li>
+                               CUR < .ACT
+                               CUR.wrapItemAndSub = <li class="csc-menu-current">|</li>
                        }
                        2 < .1
                        3 < .1
@@ -1459,16 +1469,29 @@ tt_content.menu {
                4 < .1
                4 {
                        wrap = <dl class="csc-menu csc-menu-4">|</dl>
-                       1.NO {
-                               wrapItemAndSub >
-                               linkWrap = <dt>|</dt>
-                               after {
-                                       data = field : abstract // field : description // field : subtitle
-                                       required = 1
-                                       htmlSpecialChars = 1
-                                       wrap = <dd>|</dd>
+                       1 {
+                               NO = 1
+                               NO {
+                                       wrapItemAndSub >
+                                       linkWrap = <dt>|</dt>
+                                       after {
+                                               data = field : abstract // field : description // field : subtitle
+                                               required = 1
+                                               htmlSpecialChars = 1
+                                               wrap = <dd>|</dd>
+                                       }
+                                       ATagTitle.field = description // title
+                               }
+                               ACT < .NO
+                               ACT {
+                                       linkWrap = <dt class="csc-menu-active">|</dt>
+                                       after.wrap = <dd class="csc-menu-active">|</dd>
+                               }
+                               CUR < .ACT
+                               CUR {
+                                       linkWrap = <dt class="csc-menu-current">|</dt>
+                                       after.wrap = <dd class="csc-menu-current">|</dd>
                                }
-                               ATagTitle.field = description // title
                        }
                }