Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • 100284736 Friend
    #185237

    I need to change te mobile menu of the handheld layout.

    <blockquote>
    <?xml version=”1.0″ encoding=”utf-8″?>
    <layout body-class=”bd-handheld” device=”handheld”>
    <name>Handheld</name>
    <description>Default layout for handheld</description>
    <!–Extra css load for this layout–>
    <stylesheets>
    <file>css/handheld/layout.css</file>
    <file>css/handheld/template.css</file>
    </stylesheets>
    <blocks name=”top” style=”xhtml”>
    <block name=”mainnav” type=”handheld/mainnav”></block>
    <block name=”header” type=”handheld/header”></block>
    </blocks>
    <blocks name=”middle”>
    <block name=”content-mass-top” style=”raw”>ja-news-mobile</block>
    </blocks>
    <blocks name=”bottom” style=”xhtml”>
    <block name=”footer” type=”handheld/footer”></block>
    </blocks>
    </layout>
    </blockquote>

    I want put a different menu than the main menu.

    The line would be
    <blockquote><block name=”mainnav” type=”handheld/mainnav”></block></blockquote>

    but i donĀ“t know to do this.

    Thanks

    Stork11 Friend
    #484421

    Hello 100284736,

    You should add a new line like
    <blockquote><block name=”mainnav” type=”handheld/mainnav1″></block></blockquote>

    Then copy “/plugins/system/jat3/jat3/base-themes/default/blocks/handheld/mainnav.php” file to “/templates/ja_nex/blocks/handheld/mainnav1.php”. After that, create a new position and add it to that new file.

    Lastly, create a menu module, assign it to new position above. And then, style for it in CSS file.

    Regards.

    100284736 Friend
    #484787

    Hi Stork11,

    I do all you say and the results are:

    I need the same type of menu in:

    -Quienes somos
    -Anunciate
    -Contacta con nosotros

    than the inicio-menu, a pull-down menu.

    Thanks


    1. Captura
    100284736 Friend
    #488997

    Up Please!!!!!

    Ninja Lead Moderator
    #489120

    I have checked your site and appreciate your hard work on your site, but for more and more customization you should hire a developer to carry out such work, customization support is out of JA support scope.

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

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

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