Hi,

I'd like to solve the following problem:

All following pages of the current page (menu state "CUR")
should be assigned to the menu state "USERDEF1".

I'd really appreciate your help.
Bye!

Alex

PS:

This PHP code on a similar topic may help you perhaps:
(replaces missing CURIFSUB [has been once a typo3 bug]:
-------------------------------------------------------

<?php
class user_itemArrayProcFunc {

    function curifsub($menuArr,$conf)    {
        // Enable the USERDEF1 menustate as a replacement for the missing 
CURIFSUB menustate.
        // Usage: In your TMENU/GMENU object insert this line:
        //        itemArrayProcFunc = user_itemArrayProcFunc->curifsub
        while(list($k,$v)=each($menuArr))    {
            if ($conf["parentObj"]->isItemState("IFSUB",$k) && 
$conf["parentObj"]->isItemState("CUR",$k))
                $menuArr[$k]["ITEM_STATE"]="USERDEF1";
        }
        return $menuArr;
    }
    
}
?>
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

Reply via email to