Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • podnot Friend
    #159719

    hello

    I would like change order menu items in ja_cloris.

    If you look to demo page you can see default menu with first menu item which name is “J! MENU” and second link is “ABOUT US”. I want change their positions – 1.) ABOUT US and 2.) J! MENU

    I know about template/ja_cloris/core/etc/layouts/default.xml file but how I do this?

    Thank you in advance for help

    Phill Moderator
    #375002

    In this case I do not think you can. They are 2 separate menu systems the first being megamenu the second being a series of links for the one-page layout. I think this is a limitation of the system.

    cssyeah Moderator
    #375329

    Hi Podnot,

    Open the onpage.php in the block folder and move the red line code to the after <ul> tag.


    <div class="wrap" id="mainnav"><div class="wrap-inner1">
    <div class="main"><div class="main-inner1 clearfix">
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    ....

    <li class=”ja-page <?php echo $class ?>”>
    <a href=”<?php echo “$link#$name”?>” title=”<?php echo JText::_($title) ?>”>
    <?php echo JText::_($title) ?>
    </a>
    </li>

    <?php
    endforeach;
    ?>
    </ul>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    </div></div>

    ahmedhn Friend
    #379895

    <em>@trungch 219707 wrote:</em><blockquote>Hi Podnot,

    Open the onpage.php in the block folder and move the red line code to the after <ul> tag.


    <div class="wrap" id="mainnav"><div class="wrap-inner1">
    <div class="main"><div class="main-inner1 clearfix">
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    ....

    <li class=”ja-page <?php echo $class ?>”>
    <a href=”<?php echo “$link#$name”?>” title=”<?php echo JText::_($title) ?>”>
    <?php echo JText::_($title) ?>
    </a>
    </li>

    <?php
    endforeach;
    ?>
    </ul>
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    </div></div>

    </blockquote>

    I tried this but it creates the menu under the one page menu… not within the same line.

    ahmedhn Friend
    #380455

    So is there no way it can be done?

    Ninja Lead Moderator
    #380503
    noerkjaer Friend
    #390456

    I just had a go at this.
    Pasting the line BEFORE the </ul> will keep it on one line
    The “T3 menu” (The one from default.xml) will be placed before the Joomla menu.

    However the “Home icon” is a part of the Joomla-menu and not the T3-menu.
    So the home icon will be placed in the middle of the menu… :((

    So a workaround would be to include two Joomla-menus and the T3 menu, in this order:
    [Joomla Main Menu] – – [Joomla Extra menu]

    I don’t know if that can be done via onepage.php …

    Best regards
    Peter

    sakari Friend
    #392687


    <li class="ja-page <?php echo $class ?>">
    <a href="<?php echo "$link#$name"?>" title="<?php echo JText::_($title) ?>">
    <?php echo JText::_($title) ?>
    </a>
    </li>

    <?php
    endforeach;
    ?><?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    </ul>

    </div></div>

    Hello friends,
    first thanks for the tip!
    I changed the code above and it worked well!
    All browsers display the menu on the right, except the Internet Explorer 7,
    since slipped down the Mainmenu easy!
    Look at the two pictures!

    How can this be fixed?

    Thanks in advance. 🙂

    IE 8/9, FF3/4, Opera, Chrome/ Safari

    IE 7 🙁


    1. 1
    2. 2
    Phill Moderator
    #392726

    What happens if you shorten one of the menus ites such as changing contact us to just contact? It could be that IE7 is rendering one of the fonts or spacing just clicghtly larger than the other browsers so the menu item is being forced onto the next line.

    sakari Friend
    #393026

    When you shorten the menu is the same problem!

    noerkjaer Friend
    #400735

    Have any of the develepors been able to solve this?

    sakari Friend
    #400755

    No, not yet!

    vlynn Friend
    #406611

    A question about this implementation: How do you get the template to load a different menu instead of the Main Menu? I’d like to do something similar with adding:

    Main Menu | One Page Menu | New Menu

    …but I’m unsure how to do this, and I’m pretty new to Joomla and PHP still.

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

This topic contains 13 replies, has 8 voices, and was last updated by  vlynn 13 years, 3 months ago.

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