[support] support Digest, Vol 132, Issue 43: Problems with iPad

Chris McAndrew chris at csmcreative.com
Sat Dec 28 00:32:53 UTC 2013


Definitely add this to the head like others said:

<meta name="viewport" content="width=device-width, initial-scale=1.0,
maximum-scale=1.0, user-scalable=no" />

​I don't allow scalability because that is the issue and the user should
not have to scale in or out on anything. It should be rendered correctly at
100%. Just my opinion (and that of the w3c) and if you need zoom features,
there are other ways to do that. That shifting will be resolved if you add
the max-scale and if you still have issues, try the user-scalable = no.

Good luck.
Chris​



* <http://csmcreative.com> Chr**is McAndrew*
*Interactive Designer & Developer*
*Mobile*: 1-603-498-3864
*email*: <chris at csmcreative.com>chris at csmcreative.com<chris at csmcreative.com?subject=Question+via+email+contact+link>
*Web*: http://csmcreative.com
*Twitter*: @chris_mcandrew <https://twitter.com/chris_mcandrew>
*LinkedIn*: chrismcandrew <http://linkedin.com/in/chrismcandrew>


On Fri, Dec 27, 2013 at 2:08 PM, <support-request at drupal.org> wrote:

> Send support mailing list submissions to
>         support at drupal.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.drupal.org/mailman/listinfo/support
> or, via email, send a message with subject or body 'help' to
>         support-request at drupal.org
>
> You can reach the person managing the list at
>         support-owner at drupal.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of support digest..."
>
>
> Today's Topics:
>
>    1. Views Hook for "No Results" (Nancy Wichmann)
>    2. Problems with iPad (Philip_Wetzel at nhd.uscourts.gov)
>    3. Re: Problems with iPad (Jamie Holly)
>    4. Re: Problems with iPad (Awtar Singh)
>    5. Re: Problems with iPad (Philip_Wetzel at nhd.uscourts.gov)
>    6. Re: Problems with iPad (Jamie Holly)
>    7. Re: Problems with iPad (Philip_Wetzel at nhd.uscourts.gov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 27 Dec 2013 06:52:51 -0800 (PST)
> From: Nancy Wichmann <nan_wich at bellsouth.net>
> Subject: [support] Views Hook for "No Results"
> To: support drupal <support at drupal.org>
> Message-ID:
>         <1388155971.39921.YahooMailNeo at web181203.mail.ne1.yahoo.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> We have several views that show the OG group name to which users belong.
> Unfortunately, one of the groups is "magic" and so that group name does not
> show in these lists. I used the "No Results Behavior" to show that group's
> name, but it is not correct. Some users really don't belong to a group and
> I want the admins to see that.
>
> So, is there a Views hook where I can correctly distinguish between no
> group and special group?
>
> ?
> Nancy
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.drupal.org/pipermail/support/attachments/20131227/1e2535a0/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Fri, 27 Dec 2013 11:16:38 -0500
> From: Philip_Wetzel at nhd.uscourts.gov
> Subject: [support] Problems with iPad
> To: support at drupal.org
> Cc: Philip_Wetzel at nhd.uscourts.gov
> Message-ID:
>         <
> OF68A3C024.D48FA2B9-ON85257C4E.005776A1-85257C4E.00596DB4 at uscmail.uscourts.gov
> >
>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi all,
>
> I have an issue when viewing my Drupal website with an iPad.
> Sometimes it loads with the margin almost 1/3 too far to the left and you
> have to move it to the right.
> Also, if you rotate the screen (forcing it to switch from landscape to
> portrait and visa versa) it will
> render too far to the left.
>
> I've found a few suggestions for adding attributes to the css file with no
> success.  Namely....
> body {  margin: 0 auto; }
> and
> body {  min-width: 1080px; }
>
> I've also found suggestions to add a meta tag.
> <meta name="viewport" width=device-width />
>
> I'm not exactly sure how to do that.  I do have the
> template_html_head_alter function in template.php which is supposed
> to force ie out of compatibility mode.
>
> /** Implements hook_html_head_alter*/
> function template_html_head_alter(&$head_elements) {
>   // Force the latest IE rendering engine and Google Chrome Frame.
>   $head_elements['chrome_frame'] = array(
>     '#type' => 'html_tag',
>     '#tag' => 'meta',
>     '#attributes' => array('http-equiv' => 'X-UA-Compatible', 'content' =>
> 'IE=edge,chrome=1'),
>     '#weight' => -1001,
>   );
>   error_log('template_html_head_alter');
> }
>
> Has anyone had to deal with this?
> Happy new year,
> Phil
>
>
>
>
>
>
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 27 Dec 2013 11:41:36 -0500
> From: Jamie Holly <hovercrafter at earthlink.net>
> Subject: Re: [support] Problems with iPad
> To: support at drupal.org
> Message-ID: <52BDADC0.1070203 at earthlink.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Are you sure it's only the iPad, or is it any smaller screen? The
> easiest test is to resize your browser down to a smaller width and see
> if it acts up. If you're using Firefox, you can hit ctrl-shift-m to go
> to a mobile simulation mode.
>
> Jamie Holly
> http://hollyit.net
>
> On 12/27/2013 11:16 AM, Philip_Wetzel at nhd.uscourts.gov wrote:
> > Hi all,
> >
> > I have an issue when viewing my Drupal website with an iPad.
> > Sometimes it loads with the margin almost 1/3 too far to the left and you
> > have to move it to the right.
> > Also, if you rotate the screen (forcing it to switch from landscape to
> > portrait and visa versa) it will
> > render too far to the left.
> >
> > I've found a few suggestions for adding attributes to the css file with
> no
> > success.  Namely....
> > body {        margin: 0 auto; }
> > and
> > body {        min-width: 1080px; }
> >
> > I've also found suggestions to add a meta tag.
> > <meta name="viewport" width=device-width />
> >
> > I'm not exactly sure how to do that.  I do have the
> > template_html_head_alter function in template.php which is supposed
> > to force ie out of compatibility mode.
> >
> > /** Implements hook_html_head_alter*/
> > function template_html_head_alter(&$head_elements) {
> >    // Force the latest IE rendering engine and Google Chrome Frame.
> >    $head_elements['chrome_frame'] = array(
> >      '#type' => 'html_tag',
> >      '#tag' => 'meta',
> >      '#attributes' => array('http-equiv' => 'X-UA-Compatible', 'content'
> =>
> > 'IE=edge,chrome=1'),
> >      '#weight' => -1001,
> >    );
> >    error_log('template_html_head_alter');
> > }
> >
> > Has anyone had to deal with this?
> > Happy new year,
> > Phil
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 27 Dec 2013 22:08:39 +0530
> From: Awtar Singh <asingh at quantum-coders.com>
> Subject: Re: [support] Problems with iPad
> To: "support at drupal.org" <support at drupal.org>
> Cc: "support at drupal.org" <support at drupal.org>,
>         "Philip_Wetzel at nhd.uscourts.gov" <Philip_Wetzel at nhd.uscourts.gov>
> Message-ID: <1A57A1E7-03A8-44D9-A4B5-A89324AF887D at quantum-coders.com>
> Content-Type: text/plain;       charset=us-ascii
>
> Hi-
>
> We are a Drupal Development Group with very experienced Drupal experts.
>
> We provide support at reasonable cost, please advise.
>
> Regards,
>
> Awtar singh
> Executive Director
> Quantum Coders
>
> Sent from my iPhone
>
> > On Dec 27, 2013, at 9:46 PM, Philip_Wetzel at nhd.uscourts.gov wrote:
> >
> > Hi all,
> >
> > I have an issue when viewing my Drupal website with an iPad.
> > Sometimes it loads with the margin almost 1/3 too far to the left and you
> > have to move it to the right.
> > Also, if you rotate the screen (forcing it to switch from landscape to
> > portrait and visa versa) it will
> > render too far to the left.
> >
> > I've found a few suggestions for adding attributes to the css file with
> no
> > success.  Namely....
> > body {    margin: 0 auto; }
> > and
> > body {    min-width: 1080px; }
> >
> > I've also found suggestions to add a meta tag.
> > <meta name="viewport" width=device-width />
> >
> > I'm not exactly sure how to do that.  I do have the
> > template_html_head_alter function in template.php which is supposed
> > to force ie out of compatibility mode.
> >
> > /** Implements hook_html_head_alter*/
> > function template_html_head_alter(&$head_elements) {
> >  // Force the latest IE rendering engine and Google Chrome Frame.
> >  $head_elements['chrome_frame'] = array(
> >    '#type' => 'html_tag',
> >    '#tag' => 'meta',
> >    '#attributes' => array('http-equiv' => 'X-UA-Compatible', 'content' =>
> > 'IE=edge,chrome=1'),
> >    '#weight' => -1001,
> >  );
> >  error_log('template_html_head_alter');
> > }
> >
> > Has anyone had to deal with this?
> > Happy new year,
> > Phil
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 27 Dec 2013 12:14:05 -0500
> From: Philip_Wetzel at nhd.uscourts.gov
> Subject: Re: [support] Problems with iPad
> To: support at drupal.org
> Cc: support-bounces at drupal.org
> Message-ID:
>         <
> OFAC7BCCE6.390773AE-ON85257C4E.005D0D51-85257C4E.005EB02E at uscmail.uscourts.gov
> >
>
> Content-Type: text/plain; charset=US-ASCII
>
> Thanks Jamie,
>
> Got a couple of clues out of that.  I don't know if it is iPad specific.
> However, the other browsers (on my desktop) behave differently when resized
> smaller.
>
> The thing I just noticed about the iPad is that it is zoomed in too far.
> Also, it is not centered.    It is centered with all the browsers on my
> desktop.
>
> It works pretty well with Firefox in mobile mode.  Stays centered as well
> as it can down to where it starts cropping from the right.  Which is fine.
> The iPad will crop on all 4 sides as you zoom.   That would be OK if it
> was centered.
>
> It's starting sound like the real question is why isn't it centered, or
> how can I make it centered.
> Back to Google.
>
> Thanks again,
> Phil
>
>
>
>
> From:   Jamie Holly <hovercrafter at earthlink.net>
> To:     support at drupal.org,
> Date:   12/27/2013 11:41 AM
> Subject:        Re: [support] Problems with iPad
> Sent by:        support-bounces at drupal.org
>
>
>
> Are you sure it's only the iPad, or is it any smaller screen? The
> easiest test is to resize your browser down to a smaller width and see
> if it acts up. If you're using Firefox, you can hit ctrl-shift-m to go
> to a mobile simulation mode.
>
> Jamie Holly
> http://hollyit.net
>
> On 12/27/2013 11:16 AM, Philip_Wetzel at nhd.uscourts.gov wrote:
> > Hi all,
> >
> > I have an issue when viewing my Drupal website with an iPad.
> > Sometimes it loads with the margin almost 1/3 too far to the left and you
> > have to move it to the right.
> > Also, if you rotate the screen (forcing it to switch from landscape to
> > portrait and visa versa) it will
> > render too far to the left.
> >
> > I've found a few suggestions for adding attributes to the css file with
> no
> > success.  Namely....
> > body {                 margin: 0 auto; }
> > and
> > body {                 min-width: 1080px; }
> >
> > I've also found suggestions to add a meta tag.
> > <meta name="viewport" width=device-width />
> >
> > I'm not exactly sure how to do that.  I do have the
> > template_html_head_alter function in template.php which is supposed
> > to force ie out of compatibility mode.
> >
> > /** Implements hook_html_head_alter*/
> > function template_html_head_alter(&$head_elements) {
> >    // Force the latest IE rendering engine and Google Chrome Frame.
> >    $head_elements['chrome_frame'] = array(
> >      '#type' => 'html_tag',
> >      '#tag' => 'meta',
> >      '#attributes' => array('http-equiv' => 'X-UA-Compatible', 'content'
> =>
> > 'IE=edge,chrome=1'),
> >      '#weight' => -1001,
> >    );
> >    error_log('template_html_head_alter');
> > }
> >
> > Has anyone had to deal with this?
> > Happy new year,
> > Phil
> >
> >
> >
> >
> >
> >
> >
> >
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 27 Dec 2013 13:31:46 -0500
> From: Jamie Holly <hovercrafter at earthlink.net>
> Subject: Re: [support] Problems with iPad
> To: support at drupal.org
> Message-ID: <52BDC792.6010606 at earthlink.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Try adding this in the head:
>
> <meta name="viewport" content="width=device-width, initial-scale=1,
> maximum-scale=1">
>
> You can look here, which is a Drupal site I just converted to responsive:
>
> http://crooksandliars.com/
>
> It's still on D6, but can give you an idea on how to make things scale
> down to different sizes. I do have some media query magic going on in
> there, but outside of the width over 940px, there really isn't anything
> specific to the overall page, just changing the order of some things and
> that.
>
> Jamie Holly
> http://hollyit.net
>
> On 12/27/2013 12:14 PM, Philip_Wetzel at nhd.uscourts.gov wrote:
> > Thanks Jamie,
> >
> > Got a couple of clues out of that.  I don't know if it is iPad specific.
> > However, the other browsers (on my desktop) behave differently when
> resized
> > smaller.
> >
> > The thing I just noticed about the iPad is that it is zoomed in too far.
> > Also, it is not centered.    It is centered with all the browsers on my
> > desktop.
> >
> > It works pretty well with Firefox in mobile mode.  Stays centered as well
> > as it can down to where it starts cropping from the right.  Which is
> fine.
> > The iPad will crop on all 4 sides as you zoom.   That would be OK if it
> > was centered.
> >
> > It's starting sound like the real question is why isn't it centered, or
> > how can I make it centered.
> > Back to Google.
> >
> > Thanks again,
> > Phil
> >
> >
> >
> >
> > From: Jamie Holly <hovercrafter at earthlink.net>
> > To:   support at drupal.org,
> > Date: 12/27/2013 11:41 AM
> > Subject:      Re: [support] Problems with iPad
> > Sent by:      support-bounces at drupal.org
> >
> >
> >
> > Are you sure it's only the iPad, or is it any smaller screen? The
> > easiest test is to resize your browser down to a smaller width and see
> > if it acts up. If you're using Firefox, you can hit ctrl-shift-m to go
> > to a mobile simulation mode.
> >
> > Jamie Holly
> > http://hollyit.net
> >
> > On 12/27/2013 11:16 AM, Philip_Wetzel at nhd.uscourts.gov wrote:
> > > Hi all,
> > >
> > > I have an issue when viewing my Drupal website with an iPad.
> > > Sometimes it loads with the margin almost 1/3 too far to the left and
> you
> > > have to move it to the right.
> > > Also, if you rotate the screen (forcing it to switch from landscape to
> > > portrait and visa versa) it will
> > > render too far to the left.
> > >
> > > I've found a few suggestions for adding attributes to the css file with
> > no
> > > success.  Namely....
> > > body {               margin: 0 auto; }
> > > and
> > > body {               min-width: 1080px; }
> > >
> > > I've also found suggestions to add a meta tag.
> > > <meta name="viewport" width=device-width />
> > >
> > > I'm not exactly sure how to do that.  I do have the
> > > template_html_head_alter function in template.php which is supposed
> > > to force ie out of compatibility mode.
> > >
> > > /** Implements hook_html_head_alter*/
> > > function template_html_head_alter(&$head_elements) {
> > >    // Force the latest IE rendering engine and Google Chrome Frame.
> > >    $head_elements['chrome_frame'] = array(
> > >      '#type' => 'html_tag',
> > >      '#tag' => 'meta',
> > >      '#attributes' => array('http-equiv' => 'X-UA-Compatible',
> 'content'
> > =>
> > > 'IE=edge,chrome=1'),
> > >      '#weight' => -1001,
> > >    );
> > >    error_log('template_html_head_alter');
> > > }
> > >
> > > Has anyone had to deal with this?
> > > Happy new year,
> > > Phil
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >
> >
>
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 27 Dec 2013 14:08:03 -0500
> From: Philip_Wetzel at nhd.uscourts.gov
> Subject: Re: [support] Problems with iPad
> To: support at drupal.org
> Cc: support-bounces at drupal.org
> Message-ID:
>         <
> OF9CBD44A3.033EC79C-ON85257C4E.0068ED39-85257C4E.00691F83 at uscmail.uscourts.gov
> >
>
> Content-Type: text/plain; charset=US-ASCII
>
> Yay, it worked!  Looks great on iPad now!
> Thanks!!
> Phil
>
>
>
> From:   Jamie Holly <hovercrafter at earthlink.net>
> To:     support at drupal.org,
> Date:   12/27/2013 01:34 PM
> Subject:        Re: [support] Problems with iPad
> Sent by:        support-bounces at drupal.org
>
>
>
> Try adding this in the head:
>
> <meta name="viewport" content="width=device-width, initial-scale=1,
> maximum-scale=1">
>
> You can look here, which is a Drupal site I just converted to responsive:
>
> http://crooksandliars.com/
>
> It's still on D6, but can give you an idea on how to make things scale
> down to different sizes. I do have some media query magic going on in
> there, but outside of the width over 940px, there really isn't anything
> specific to the overall page, just changing the order of some things and
> that.
>
> Jamie Holly
> http://hollyit.net
>
> On 12/27/2013 12:14 PM, Philip_Wetzel at nhd.uscourts.gov wrote:
> > Thanks Jamie,
> >
> > Got a couple of clues out of that.  I don't know if it is iPad specific.
> > However, the other browsers (on my desktop) behave differently when
> resized
> > smaller.
> >
> > The thing I just noticed about the iPad is that it is zoomed in too far.
> > Also, it is not centered.    It is centered with all the browsers on my
> > desktop.
> >
> > It works pretty well with Firefox in mobile mode.  Stays centered as well
> > as it can down to where it starts cropping from the right.  Which is
> fine.
> > The iPad will crop on all 4 sides as you zoom.   That would be OK if it
> > was centered.
> >
> > It's starting sound like the real question is why isn't it centered, or
> > how can I make it centered.
> > Back to Google.
> >
> > Thanks again,
> > Phil
> >
> >
> >
> >
> > From:          Jamie Holly <hovercrafter at earthlink.net>
> > To:            support at drupal.org,
> > Date:          12/27/2013 11:41 AM
> > Subject:               Re: [support] Problems with iPad
> > Sent by:               support-bounces at drupal.org
> >
> >
> >
> > Are you sure it's only the iPad, or is it any smaller screen? The
> > easiest test is to resize your browser down to a smaller width and see
> > if it acts up. If you're using Firefox, you can hit ctrl-shift-m to go
> > to a mobile simulation mode.
> >
> > Jamie Holly
> > http://hollyit.net
> >
> > On 12/27/2013 11:16 AM, Philip_Wetzel at nhd.uscourts.gov wrote:
> > > Hi all,
> > >
> > > I have an issue when viewing my Drupal website with an iPad.
> > > Sometimes it loads with the margin almost 1/3 too far to the left and
> you
> > > have to move it to the right.
> > > Also, if you rotate the screen (forcing it to switch from landscape to
> > > portrait and visa versa) it will
> > > render too far to the left.
> > >
> > > I've found a few suggestions for adding attributes to the css file with
> > no
> > > success.  Namely....
> > > body {                                margin: 0 auto; }
> > > and
> > > body {                                min-width: 1080px; }
> > >
> > > I've also found suggestions to add a meta tag.
> > > <meta name="viewport" width=device-width />
> > >
> > > I'm not exactly sure how to do that.  I do have the
> > > template_html_head_alter function in template.php which is supposed
> > > to force ie out of compatibility mode.
> > >
> > > /** Implements hook_html_head_alter*/
> > > function template_html_head_alter(&$head_elements) {
> > >    // Force the latest IE rendering engine and Google Chrome Frame.
> > >    $head_elements['chrome_frame'] = array(
> > >      '#type' => 'html_tag',
> > >      '#tag' => 'meta',
> > >      '#attributes' => array('http-equiv' => 'X-UA-Compatible',
> 'content'
> > =>
> > > 'IE=edge,chrome=1'),
> > >      '#weight' => -1001,
> > >    );
> > >    error_log('template_html_head_alter');
> > > }
> > >
> > > Has anyone had to deal with this?
> > > Happy new year,
> > > Phil
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > [ Drupal support list | http://lists.drupal.org/ ]
> >
> >
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
>
>
>
> ------------------------------
>
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
> End of support Digest, Vol 132, Issue 43
> ****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20131227/e79179af/attachment-0001.html 


More information about the support mailing list