[TYPO3-german] Naviproblem: TMENU first

Basti sebastian.schmal at gmx.de
Wed Sep 23 15:34:51 CEST 2009


Hallo ich habe hier ein Problem mit meiner Navi:

# ---------------------
# Top-Navi
# ---------------------

temp.topnaviwrap = HMENU
temp.topnaviwrap {

   #1 level top-menu
   1 = TMENU
   1 {
     noBlur = 1
     expAll = 0

     wrap = <ul class="top-navi">|</ul>

     # Normal state properties
     NO = 1
     NO.allWrap = <li>|</li>
     NO.ATagTitle.field = subtitle // title
     # Enable active state and set properties:
     ACT = 1
     ACT.wrapItemAndSub = <li class="top-navi-act">|</li>
     ACT.ATagTitle.field = subtitle // title

   }
}

# ---------------------
# Navi
# ---------------------

temp.navi-wrap = HMENU
temp.navi-wrap {

   special = directory
   special.value = 3

   #1 level top-menu
   1 = TMENU
   1 {
     noBlur = 1
     expAll = 0

     wrap = <ul class="navi">|</ul>

     # Normal state properties
     NO = 1
     NO.allWrap = <li class="navi-first">|</li>|*|<li>|</li>
     NO.ATagTitle.field = subtitle // title

     # Enable active state and set properties:
     ACT = 1
     ACT.wrapItemAndSub = <li class="navi-first">|</li>|*|<li 
class="top-navi-act">|
     ACT.ATagTitle.field = subtitle // title

     ACTIFSUB = 1
     ACTIFSUB.allWrap = <li class="navi-first">| |*|<li 
class="top-navi-act" >|
     ACTIFSUB.ATagTitle.field = subtitle // title

   }

   #2 level top-menu
   2 = TMENU
   2 {
     noBlur = 1
     expAll = 0

     wrap = <ul class="navi-sub1-first">|</ul></li>|*|<ul 
class="navi-sub1">|</ul></li>

     # Normal state properties
     NO = 1
     NO.allWrap = <li>|</li>|*|<li>|</li>
     NO.ATagTitle.field = subtitle // title

     # Enable active state and set properties:
     ACT = 1
     ACT.wrapItemAndSub = <li class="navi-sub1-first-act">|</li>|*|<li 
class="navi-sub1-act">|</li>
     ACT.ATagTitle.field = subtitle // title

     ACTIFSUB = 1
     ACTIFSUB.allWrap = <li class="navi-sub1-first-act">|</li>|*|<li 
class="navi-sub1-act" >|</li>
     ACTIFSUB.ATagTitle.field = subtitle // title

   }
}

Im zweiten Part ( 2 = TMENU ) kann man wohl nicht dem wrap einen first 
sector geben?

2.wrap = <ul class="navi-sub1-first">|</ul></li>|*|<ul 
class="navi-sub1">|</ul></li>

Sowas geht nur unter 2.NO.usw... ?

Wäre für mich die einfachste Lösung :/

Grüße, basti



------------------------------------------

TYPO3 - TIPS - ANLEITUNGEN - NEWS - TYPO3

unter: http://blog.ingeniumdesign.de/

------------------------------------------


More information about the TYPO3-german mailing list