Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • volotech Friend
    #161981

    I am using the JA OPAL template and would like to use a different menu system. I’ve installed the new menu system and assigned it to the JA MENU position, but the new menu is not displaying. When I look through the modules, none of them are JA MENU, so I can’t figure out how to disable the standard menu either.

    So basically, I want to remove the standard menu at the top under the header area, and replace it with the new one in a module.

    Any ideas?

    Thanks!

    volotech Friend
    #383439

    <em>@volotech 230397 wrote:</em><blockquote>I am using the JA OPAL template and would like to use a different menu system. I’ve installed the new menu system and assigned it to the JA MENU position, but the new menu is not displaying. When I look through the modules, none of them are JA MENU, so I can’t figure out how to disable the standard menu either.

    So basically, I want to remove the standard menu at the top under the header area, and replace it with the new one in a module.

    Any ideas?

    Thanks!</blockquote>

    The module position I am refering to is here – http://www.joomlart.com/static/guides/layout/?ja_opal

    The main menu just under the header area, named JA MENU. That’s where I want to install this new menu system and remove the current one.

    huypl Friend
    #383600

    Hi volotech,
    Try this way:
    Open templatesja_opalblocksheader.php
    Find and delete these lines:
    [PHP] <div id=”ja-mainnav” class=”clearfix”>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>

    <!– jdoc:include type=”menu” level=”0″ / –>
    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id=”ja-subnav” class=”clearfix”>
    <?php $jamenu->genMenu (1); ?>
    <!– jdoc:include type=”menu” level=”1″ / –>
    </div>
    <?php endif;?>
    </div> [/PHP]

    Then clear cache, and the mega menu won’t be shown again.

    volotech Friend
    #383703

    <em>@huypl 230610 wrote:</em><blockquote>Hi volotech,
    Try this way:
    Open templatesja_opalblocksheader.php
    Find and delete these lines:
    [PHP] <div id=”ja-mainnav” class=”clearfix”>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>

    <!– jdoc:include type=”menu” level=”0″ / –>
    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id=”ja-subnav” class=”clearfix”>
    <?php $jamenu->genMenu (1); ?>
    <!– jdoc:include type=”menu” level=”1″ / –>
    </div>
    <?php endif;?>
    </div> [/PHP]

    Then clear cache, and the mega menu won’t be shown again.</blockquote>

    Hi huypl, in my ja_opal folder there is no sub-folder named /blocks/ :((

    huypl Friend
    #383804

    Hi volotech,
    Sorry for this, please open templatesja_opalindex.php
    Find this line
    [PHP]<?php if ($jamenu) $jamenu->genMenu (0); ?>[/PHP]
    and replace with
    [PHP]<?php //if ($jamenu) $jamenu->genMenu (0); ?>
    <jdoc:include type=”modules” name=”ja-menu” />[/PHP]

    Then open templatesja_opaltemplateDetails.xml
    Add this line between the <positions> tag
    [PHP]<position>ja-menu</position>[/PHP]

    Then create a mod_mainmenu and set this menu to the ja_menu position.

    rreeaallyy Friend
    #385984

    I’ve done this and now the Opal style is removed and the menu is just bare text. How do I change the style back to the Opal menu style?

    thangnn1510 Friend
    #386025

    <em>@rreeaallyy 233744 wrote:</em><blockquote>I’ve done this and now the Opal style is removed and the menu is just bare text. How do I change the style back to the Opal menu style?</blockquote>. Could you give us the screenshot and link to your site bug?

    rreeaallyy Friend
    #386264
    rreeaallyy Friend
    #386428

    I’ve solved the problem. I replaced the template index.php and templateDetails.xml with the originals then went into the menu configuration and added the link I needed to mainmenu*.

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

This topic contains 9 replies, has 4 voices, and was last updated by  rreeaallyy 13 years, 1 month ago.

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