Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • Mark van den Ing Friend
    #493925

    I found a solution for this issue. I noticed too that dispited setting both handheld and iphone to a “default” template the megamenu was not working and showing a droplist instead. When adding “?ui=dekstop” to the URL it was solved, but ofcourse, you want to have the megamenu there instandly, not forcing to switch…

    What I did is pretty simple but a bit nasty. In JA.TEMPLATE.HELPER.PHP found in /template/ja_templatename/libs, I removed the two lines of code in the function mobile_device_detect_layout (). These lines can be found around 433 – 434.

    Mine looks like:


    function mobile_device_detect_layout () {
    // $ui = $this->getParam('ui');
    // return $ui=='desktop'?false:(($ui=='mobile' && !$this->mobile_device_detect())?'iphone':$this->mobile_device_detect());
    }

    I hope this helps you guys aswell!

    Saguaros Moderator
    #494029

    Thanks for your sharing, markvding 🙂

Viewing 2 posts - 16 through 17 (of 17 total)

This topic contains 17 replies, has 8 voices, and was last updated by  Saguaros 10 years, 11 months ago.

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