Hallo zusammen,

über nachfolgendes TS lasse ich mir auf allen Seiten im Footer eine abgespeckte Sitemap der ersten zwei Ebenen rendern. Kennt jemand eine Möglichkeit, den ersten Zweig zu ermitteln, um dem ersten UL-Block eine extra css-Klasse zu verpassen?

Gruß, Stephan

HTML:
----------------------
<ul class="extraCSS"><li>...<ul><li>...</li></ul></li></ul>
<ul>...</ul>
<ul>...</ul>


TS:
----------------------
lib.footerNav = HMENU
lib.footerNav {
        
        special = directory
        special.value = 2
        
        1 = TMENU
        1 {
                expAll = 1
                noBlur = 1
                
                NO = 1
                NO.allWrap = <ul><li>|</li></ul>
                NO.stdWrap.htmlSpecialChars = 1
                
                ACT < .NO
                                                                                
        
                IFSUB = 1
                IFSUB.wrapItemAndSub < .NO.allWrap
                IFSUB.stdWrap.htmlSpecialChars = 1
        }
        
        2 = TMENU
        2 {
                noBlur = 1
                wrap = <ul>|</ul>
                
                NO = 1
                NO.linkWrap = <li>|</li>
                NO.stdWrap.htmlSpecialChars = 1
                
        }

}
_______________________________________________
TYPO3-german mailing list
TYPO3-german@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german

Antwort per Email an