-
AuthorPosts
-
February 23, 2013 at 6:22 pm #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 FriendStork11
- Join date:
- March 2011
- Posts:
- 2273
- Downloads:
- 0
- Uploads:
- 142
- Thanks:
- 55
- Thanked:
- 431 times in 393 posts
February 25, 2013 at 9:43 am #484421Hello 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.
February 27, 2013 at 5:21 pm #484787Hi Stork11,
I do all you say and the results are:
I need the same type of menu in:
-Quienes somos
-Anunciate
-Contacta con nosotrosthan the inicio-menu, a pull-down menu.
Thanks
April 5, 2013 at 8:34 pm #488997Up Please!!!!!
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
April 8, 2013 at 4:27 am #489120I 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.
AuthorPostsViewing 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
Menu Mobile version
Viewing 5 posts - 1 through 5 (of 5 total)