Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • wfrancis Friend
    #173759

    The template shows a pull down menu instead of the mega menu on all mobile devices when the options ‘Iphone’ and ‘Other Handheld Devices’ are set to default. This looks very bad, I really want my site to display exactly like the desktop version when I set the options to default.

    I have seen reference to this in other posts and a solution provided for template Ja_urani as per the solution here

    But the solution does not work for my template Ja Kyanite II.

    I urgently need a fix for this, any help would be greatly appreciated.

    pixelzombie Friend
    #439872

    Hi there,

    I just reproduced your issue and made a bug report out of it. This is a template issue the devs need to have a look at. Please stay tuned and thanks for your patience in advance!

    Cheers

    Frank

    chavan Friend
    #440475

    Hi wfrancis

    You could replace above code block


    if ($this->mobile_device_detect_layout()) {
    $mobile = $this->getLayout ();
    if (is_file(dirname(__FILE__).DS.'menu'.DS."$mobile.class.php")) $menutype = $mobile;
    else $menutype = 'handheld';
    return $menutype;
    }

    in getMenuType function of templates/ja_kyanite_ii/libs/ja.template.helper.php by


    $mobile = $this->mobile_device_detect_layout();
    $iphone = $this->_tpl->params->get ( 'iphone_layout', $mobile );
    $handheld = $this->_tpl->params->get ( 'other_handheld_layout', 'handheld' );

    if (($mobile == 'iphone' && $iphone != 'default' && $iphone != -1)
    || ($mobile && $handheld != 'default' && $handheld != -1)
    ) {
    $mobile = $this->getLayout ();
    if (is_file(dirname(__FILE__).DS.'menu'.DS."$mobile.class.php")) $menutype = $mobile;
    else $menutype = 'handheld';
    return $menutype;
    }

    Siow Jacques Friend
    #444703

    Thank you. This works for me on JA Mesolite II and JA Zeolite II. :):):)

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

This topic contains 4 replies, has 4 voices, and was last updated by  Siow Jacques 12 years, 7 months ago.

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