Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • arhitek Friend
    #127972

    I have bought Corona template because of its grat dropline/slide/split menu system.

    But, I already have set up template which I only need to pimp up a bit.

    Is there a way to implement one of Corona menu systems in my existing template?

    Sherlock Friend
    #247012

    Hi arhitek !
    detail about load menu system :
    open ja_vars.php file in templates/ja_corona folder, find code section :


    //Main navigation
    $japarams = new JParameter('');
    $japarams->set( 'menu_images', 1 ); // Source of menu
    $japarams->set( 'menu_images_align', 'left' );
    $japarams->set( 'menutype', 'mainmenu' );
    switch ($tmpTools->getParam(JA_TOOL_MENU)) {
    case 1:
    $menu = "Splitmenu";
    include_once( dirname(__FILE__).DS.'ja_menus/'.$menu.'.class.php' );
    break;
    case 2:
    case 4:
    $menu = "CSSmenu";
    include_once( dirname(__FILE__).DS.'ja_menus/'.$menu.'.class.php' );
    break;
    case 3:
    $menu = "DLmenu";
    include_once( dirname(__FILE__).DS.'ja_menus/'.$menu.'.class.php' );
    break;
    }
    $menuclass = "JA_$menu";
    $jamenu = new $menuclass ($japarams);

    obove code is code for switch menu type, $tmpTools->getParam(JA_TOOL_MENU) is function for get menu type ( 1 for Splitmenu, ….) you can replace it by variable of you .

    You open index.php file in templates/ja_corona folder , find code line :


    $jamenu->genMenu (0);

    this is code for load menu system for template .
    You don’t forget copy ja_menus folder from ja_corona template to your template .

    arhitek Friend
    #247031

    Hmmm, im not very good at css and PHP.

    Can I just paste this code in my template files, or I have to make other adjustments?

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

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

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