[TYPO3-english] typoscript and menu alwaysActivePIDList question

JoH asenau info at cybercraft.de
Thu Feb 18 12:07:15 CET 2010

>>> 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.
> 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 {

You can't nest xxx_INT elements.
Having a COA_INT for leftMenu should be enough.

In this case you should not use a condition but "if" or maybe CASE to get
different views.


blah = COA_INT
blah {
    10 = CASE
    10 {
        key.data = GP:refPageID
        default = HMENU
        default {
        22 < .default
        22.alwaysActivePIDlist = 2,22



Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com

More information about the TYPO3-english mailing list