test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • deva Friend
    #158878

    Hello everyone,

    i will like to know if it is possible to have another menu for Iphone layout than Mainnav.

    i mean for desktop version we can have mainnav but for iphone layout we can have another menu, i am using the ja purity II for a website everything is fine also Ja purity II works well, but i have Jcal pro installed and by default it is set to month view, which in iphone view do not look right, i wanted to have flat view for iphone, my idea is to have mainnav for desktop view set to montly view but to create another menu in parallel for iphone and where the link to jcalpro will be set to flat view.

    help please
    thanks

    Saguaros Moderator
    #377643

    Hello mate!

    Presently the Menu is part of the template. You try adding a new position for adding the new menu

    Open the file: templatesja_purity_iilayoutsiphone.php, and try following to this guide to know how to add new positions for the template http://wiki.joomlart.com/wiki/JA_Template_Framework/Guides

    iswy Friend
    #380934

    Hey mate

    You sorted this out in the end?
    i am desperate to do this asap for exactly same reasons
    have a booking calendar that stretches off to the right and in mobile view cant see that

    also jomsocial with modules on right page — the right half of the rightside modules dont show and in mobile view i cant drag to the right

    any help much appreciated

    Yes we could make a new position and assign a menu to that position and make sure that position isnt in the default template

    however we’d lose the iphone style menu and end up with a normal one
    unless we edit the line in the next post of mine i think…

    iswy Friend
    #380935

    with my terrible coding knowledge im probably wrong

    but notice in the file mainnav.php (in templatename/layouts/blocks/iphone/

    there is a line
    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>

    which i think is saying use the menu that is setup as the main menu in the main template params, for the iphone menu

    now if im right
    if there was simply a 2nd setting there, to specify an iphone menu then it would work?
    (think i saw it on a comepititor template maker system running gantry)

    On the other hand i have no idea what that code does
    other than in same folder
    is another file
    menu.php

    and in there some weird menu with artists names in it

    thangnn1510 Friend
    #383508

    <em>@iswy 227128 wrote:</em><blockquote>Hey mate

    You sorted this out in the end?
    i am desperate to do this asap for exactly same reasons
    have a booking calendar that stretches off to the right and in mobile view cant see that

    also jomsocial with modules on right page — the right half of the rightside modules dont show and in mobile view i cant drag to the right

    any help much appreciated

    Yes we could make a new position and assign a menu to that position and make sure that position isnt in the default template

    however we’d lose the iphone style menu and end up with a normal one
    unless we edit the line in the next post of mine i think…</blockquote>

    Could you give us the link to your site to check?

    Regards!

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

This topic contains 5 replies, has 4 voices, and was last updated by  thangnn1510 13 years, 9 months ago.

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