Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • claudio moreira Friend
    #1058179

    How to change default menu JA intranet
    I downloaded a module that I like menu, but how to replace the default menu?

    Saguaros Moderator
    #1058361

    Hi,

    You can create a new position and load this position into the main navigation block of current main menu.

    • Add a new < position> tag into the file: root/templates/ja_intranet/templateDetails.xml

      <position>new-position</position>
    • Publish that module into this new position new-position

    • Go to file: root/templates/ja_intranet/tpls/blocks/mainnav.php

    Replace this line:

    <jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'mainmenu') ?>" />

    By this:

    <jdoc:include type="modules" name="<?php $this->_p('new-position') ?>" />
Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  Saguaros 7 years, 3 months ago.

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