test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • ddrinkal Friend
    #128359

    Hi

    Most of your templates seem to hardcode the use of the mainmenu in the primary menu position (usually along the top) rather than it just being a module position. iS that right?

    I want different menus to appear in this position on different pages … how can I do that on your templates?

    Thanks

    Dave

    Sherlock Friend
    #248299

    Hi ddrinkal !
    Most of template you can change menu type for along top menu by way :
    – With version for joomla 1.0 :
    open menu file ( ja_cssmenu.php, ja_splitmenu.php,…) in templates/ja_villadi folder , find code line :


    $japarams->set( 'menutype', 'mainmenu' );

    change “mainmenu” to other menu name.
    – With version for joomla 1.5 :
    open ja_vars.php file , find code line :


    $japarams->set( 'menutype', 'mainmenu' );

    change “mainmenu” to other menu name.

    ddrinkal Friend
    #248306

    FIrstly thanks for the reply 🙂

    So what I want to do is to have some menu items appear on say the home page but completely different menu options appear on other pages. I normally do that by telling particular menu modules to appear on particular pages, but I guess using your system, I could reproduce the template and assign differnt templates to those different pages – each calling its own menu ???

    Is that the only way do you think

    Dave

    Sherlock Friend
    #248311

    ddrinkal !
    JA Menu system isn’t module so don’t assign it for each page , If you want do it you only edit code in index.php file , You base itemid for load or don’t load menu . example :


    global $itemId ;
    if($itemID == "21" or $itemID == "25" ) {
    //load JA system menu
    }

    21, 25 is sample menu item , you must change it by itemid on your site!

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Sherlock 16 years, 8 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum