[TYPO3-english] expAll= 0 not working in Tmenu with userfunction

Tonix (Antonio Nati) tonix at interazioni.it
Tue Jun 9 12:25:43 CEST 2009


I'm experiencing problems with multilevel menus based on userfunc.
All is working as expected, except there is no way to make expAll = 0 
working.

All menus are always expanded.
Is this a know bug/limit, or can it be something specific to the userfunc?
Any hint or specific documentation to look for?

My code is:

    tmp.menusx = HMENU
    tmp.menusx {
      special = userfunction
      special {
         userFunc = user_tx_fbmagento_navigation->categories
         pid = 3123
         startcategory = 0
      }

      expAll = 0

      1 = TMENU
      1 {
        itemArrayProcFunc  = user_tx_fbmagento_navigation->clear
        expAll = 0
        noBlur = 1
        NO.doNotLinkIt = 0
        NO.allWrap = <div class="sub-level1">|</div>
        ACT = 1
        ACT.doNotLinkIt = 1
        ACT.allWrap = <div class="sub-level1">|</div>
        CUR = 1
        CUR.doNotLinkIt = 1
        CUR.allWrap = <div class="sub-level1">|</div>
      }

      2 = TMENU
      2 {
        itemArrayProcFunc  = user_tx_fbmagento_navigation->clear
        expAll = 0
        noBlur = 1
        NO.doNotLinkIt = 0
        NO.allWrap = <div class="sub-level2">- |</div>
        ACT = 1
        ACT.doNotLinkIt = 0
        ACT.allWrap = <div class="sub-level2">- |</div>
        CUR = 1
        CUR.doNotLinkIt = 0
        CUR.allWrap = <div class="sub-level2">- |</div>
      }

      3 = TMENU
      3 {
        itemArrayProcFunc  = user_tx_fbmagento_navigation->clear
        expAll = 0
        noBlur = 1
        NO.doNotLinkIt = 0
        NO.allWrap = <div class="sub-level3">-- |</div>
        ACT = 1
        ACT.doNotLinkIt = 1
        ACT.allWrap = <div class="sub-level3">-- |</div>
        CUR = 1
        CUR.doNotLinkIt = 1
        CUR.allWrap = <div class="sub-level3">-- |</div>
      }
    }

Thanks,

Tonino

-- 
------------------------------------------------------------
        Inter at zioni            Interazioni di Antonio Nati 
   http://www.interazioni.it      tonix at interazioni.it           
------------------------------------------------------------



More information about the TYPO3-english mailing list