[TYPO3-english] typoscript and menu alwaysActivePIDList question

Ralica Sotirova larry at itsbg.net
Thu Feb 18 07:54:19 CET 2010


On Wed, 2010-02-17 at 19:22 +0100, JoH asenau wrote:
> > It works, but only the first time I go to "1". Then
> > "alwaysActivePIDlist" get cached. The class.tslib_menu.php is not
> > invoked again and I have to clear configuration cache in order to make
> > the menu correct again.
> 
> If you need uncached stuff you should put the TS code into a COA_INT
> container.
> 
> HTH
> 
> Joey
> 

Joey, thanks for the suggestion.
This is my typoscript for the menu now. But there is the same problem.
Maybe this isn't a cache problem?


lib.leftMenu = COA_INT  (changed)
lib.leftMenu {
  10 = COA_INT 		(changed)
    10 {
     wrap = <ul>|</ul>
     10 = HMENU
     10.entryLevel = 1
     10.alwaysActivePIDlist =
     10.1 = TMENU
     10.1.NO {
         allWrap = <li>|</li>
         stdWrap.htmlSpecialChars = 1
     }
     10.1.target = {$content.pageFrameObj}
     10.1.ACT < lib.lib.leftMenu.10.1.NO
     10.1.ACT=10
     10.1.ACT {
        allWrap = <li class="lmenu_active">|</li>
     }
     10.2 = TMENU
     10.2.wrap = <li class="lsubmenu">|</li>
     10.2.NO {
        allWrap = <div>|</div>
        stdWrap.htmlSpecialChars = 1
     }
     10.2.target = {$content.pageFrameObj}
     10.2.ACT < lib.lib.leftMenu.10.2.NO
     10.2.ACT=10
     10.2.ACT {
        allWrap = <div class="lsubmenu_active">|</div>
     }
    }
}



More information about the TYPO3-english mailing list