test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • fmfame Friend
    #191901

    Hello.
    Can i include a new block in header with classes of the off-canvas navigation, that i could include a seperate navigation for other menu-links?

    If yes, which lines did i have to add in layout blocks?

    TomC Moderator
    #510911

    If I understand you correctly, you want to create a second/separate horizontal main navigation?

    Any chance you can throw together a screenshot mock-up of what you’re wanting to accomplish – for a visual example?

    fmfame Friend
    #511057

    Hello,
    Here 2 sample pictures


    1. secondmenu
    2. seconmenuwide
    fmfame Friend
    #511058

    Look at the right side.
    I want to add a separate menu for jomsocial and blogsites for users.. visible only for registered users.
    my problem is, the jomsocial toolbar is cool but is always at the top of the content. If i make them fixed position, then i got problems with the navigation from fixel template..

    I need a solution for my problem

    Ninja Lead Moderator
    #511192

    I read your description and screenshot several times but I am still confused at what you are trying to do. Anyways, you can see the navigation blocks in this file :

    Open templates/ja_fixel/tpls/blocks/header.php file

    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <div class="mainnav-wrap <?php $this->_c('navhelper') ?>">
    <jdoc:include type="modules" name="mainnav" style="raw" />
    </div>
    <?php endif ?>
    </div>

    and you can customize css style menu item from admin of JA Fixel template

    + Go to Admin site -> Extensions-> Template Manager ->ja_fixel – Default -> Mega menu button


    1. custom_megamenu
    fmfame Friend
    #511332

    Ok but then i have 2 times the same menu?
    I want more flexibility and don’t want 2 same main navigations

    Ninja Lead Moderator
    #511429

    I would like to clarify that for many customization from css style and php code, you should hire a developer to carry out such work, customization support is out of JA support scope.

    Or if you are a developer you can customize from JA Fixel templage as below

    + Open templates/ja_fixel/tpls/blocks/header.php file

    From

    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <div class="mainnav-wrap <?php $this->_c('navhelper') ?>">
    <jdoc:include type="modules" name="mainnav" style="raw" />
    </div>
    <?php endif ?>
    </div>

    Change to

    <div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
    <?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
    <?php $this->megamenu($this->getParam('mm_type', 'mainmenu')) ?>
    <?php else : ?>
    <div class="mainnav-wrap <?php $this->_c('navhelper') ?>">
    <jdoc:include type="modules" name="mainnav" style="raw" />
    </div>
    <?php endif ?>
    <jdoc:include type="modules" name="secondmenu" style="raw" />
    </div>

    + Go to Admin site -> Extensions -> Module Manager -> Create new module

    Type: Menu
    Position: secondmenu
    Select Menu: select menu need to show

    + Create new custom.css file into templates/ja_fixel/css folder and define css style with new secondmenu position.

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

This topic contains 7 replies, has 3 voices, and was last updated by  Ninja Lead 11 years, 1 month ago.

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