ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

On not using the mobile version with my iPad

August 12, 2010 11:33am

Subscribe [7]
  • #1 / Aug 12, 2010 11:33am

    Halogen

    74 posts

    I have an iPad, and I noticed that EE switched to the mobile version when I surfed there from it.

    Any way to turn off the mobile version?

    or..

    A way, maybe, to turn off the mobile version for the iPad, but leave it on for the iPhone?

    😊

    Low priority question here…

  • #2 / Aug 12, 2010 4:19pm

    Ingmar

    29245 posts

    Not that I am aware of, unfortunately. Since this is not a Tech Support issue as such, though, let me move this to General for you. Thanks.

  • #3 / Aug 13, 2010 7:30pm

    I found this gem in the code when trying to solve the same problem as Halogen.

    Line 428 in system/expressionengine/libraries/core.php

    /*    Hidden Configuration Variable
    /*    - use_mobile_control_panel => Automatically use mobile cp theme when accessed with a mobile device? (y/n)

    Go to the Config File Editor in the control panel, scroll to the bottom and add a new config variable.
    Enter use_mobile_control _panel into the first box then n in the next box, then Update.

    It applies to all mobile devices so not ideal, but if an iPad is your main mobile use then it’s worth it.

    The whole issue of re-directing mobiles to another stylesheet or page is going to get big.
    The iPad is not really a mobile and is more than capable of displaying a standard page, but some iPad formatted pages are an improvement, but we must be able to choose.
    I’m now starting to think about the different methods for how to code my sites to allow the choice but initially re-direct to a mobile stylesheet.

  • #4 / Sep 13, 2010 7:15pm

    carlebanks

    6 posts

    I tried this in EE 2.0 but no joy.

    They need to be detecting the actual iPad not just if it is a portable device, apple pass the device name in the header, so I’m hoping this can be fixed in an update?

  • #5 / Sep 13, 2010 7:33pm

    carlebanks

    6 posts

    Ignore my previous post, got it working.

    Funnily enough my iPad added a - character when I copied from your post Paul.

    Thanks a lot!

  • #6 / Jul 10, 2011 12:19pm

    sherpanaut

    58 posts

    Thanks Paul, that worked for me with EE2 and iPad 2.
    Would be nice to keep it on for smartphones or if they kept a link to Desktop Version in the footer.

  • #7 / Jul 11, 2011 10:58am

    ozzyman

    11 posts

    Thanks Paul, that worked for me with EE2 and iPad 2.
    Would be nice to keep it on for smartphones or if they kept a link to Desktop Version in the footer.

    Yeah, nice advice. Thanks a lot!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases