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.

Ipad and Templates

April 03, 2010 4:56pm

Subscribe [6]
  • #1 / Apr 03, 2010 4:56pm

    Jose B

    313 posts

    I just purchased an iPad and all is well except that when I log into my CP and go to templates, only one template groups shows up in the template listing.  Remember, the iPad uses Safari (Yuky Pooh!).  So on the left hand side (under templates in the cp) where it says “Choose Group:” It just list one template group.  I can touch the template in that box and it opens and lists all templates which one can check or uncheck.  But after checking any, the same first template group is the only one visible. There seems to be no way to go to another template group.  This is not EE fault.  But I guess the way that the iPad is showing the page. This is one of the main reasons to buy the iPad.  For use when creating templates.  Does anyone out there have a suggestions?

  • #2 / Apr 03, 2010 6:18pm

    Derek Jones

    7561 posts

    That’s really interesting, Jose.  I imagine it has something to do with how Mobile Safari handles multi-selects. I’ll be testing out the control panel over the next few days with my iPad, and will see about fixing that and any other issues I find. I’d really like to be able to travel with only my iPad, so it’s definitely something I’ll be targeting :-D

  • #3 / Apr 03, 2010 10:50pm

    Jose B

    313 posts

    I found a way around the problem. You need to change the order of the template groups and make the template you want to work with number 1 in the order. Then that number 1 template will be the one template group showing. A bit tedious but it will do for now.

  • #4 / Apr 07, 2010 11:41am

    Jose B

    313 posts

    Does anyone else who has and uses the iPad see this same behavior?

  • #5 / Apr 08, 2010 10:12am

    sherrills

    26 posts

    Jose B, yes! I’m having the exact same problem with iPad.  I could always manage template groups just fine on my iPhone ( which also uses Safari ) but with iPad when you select the templates you want to view, they simply don’t show up, only the default template group.

  • #6 / Apr 08, 2010 6:59pm

    Jose B

    313 posts

    Thanks for getting back to me. I don’ t feel so alone. I wish there was a fix for this from apple’s side.

  • #7 / Apr 09, 2010 9:38am

    John Macpherson

    113 posts

    Interesting, i made an EE site live on my iphone a few years back and has the same problem initially, i fixed it like you by changing template order.

  • #8 / Apr 09, 2010 10:07am

    Jose B

    313 posts

    Updat: I have tried different browsers on my iPad all with the same result.  I don’t know enough about programming to determine if this problem is some from Apple’s side or Expreesion engine’s side. I do wish to use my iPad to update my EE sites. Any suggestions?

  • #9 / Apr 09, 2010 11:50am

    Derek Jones

    7561 posts

    I haven’t had a chance to look into why it occurs (or doesn’t occur, I should say), or what workaround should be employed, but this basic form (temporary link removed) demonstrates the problem.  MobileSafari simply isn’t firing the onchange event when a multiple select is changed.

  • #10 / Apr 09, 2010 12:01pm

    Derek Jones

    7561 posts

    Ok, quick workaround - you can either change the onchange to an onblur - MobileSafari appears to be firing that event, or remove the ‘multiple’ attribute from the select element, as it’s still firing onchange for regular drop-downs.  If you’re feeling adventurous, the code is around line 1387 of cp.templates.php.

  • #11 / Apr 09, 2010 12:07pm

    Jose B

    313 posts

    Thanks for the info.  Interesting.

  • #12 / Jun 14, 2010 5:36am

    Robert Eerhart

    57 posts

    I’ve created an extension called ‘Whoooz! iPad fix’ for EE 1.6.x and it’s attached to this post. It simply detects if the User Agent is “Ipad” and then clears the ‘multiple’ attribute and change the ‘onchange’ event into an ‘onblur’ event. Now you can switch templates on your iPad.

    More fixes will be added to this extension in the future.

    Enjoy!

  • #13 / Jun 14, 2010 11:48am

    Kevin Gerich

    213 posts

    Robert I will give that a try.

    Another issue I’m seeing is that once you have a template open to edit is that you can’t scroll around in the content of that template and there are no up/down arrows on the key board.

    Anyone seen this, I get in both 1.6.9 and 2.01

    Thanks,

    Jim

    PS you can scroll with the place finger/ magnifying glass, but it’s kinda cludgy.

  • #14 / Jun 14, 2010 4:15pm

    Robert Eerhart

    57 posts

    @Jim

    Use two fingers to scroll the textarea.

    -Robert

  • #15 / Jun 14, 2010 4:44pm

    Kevin Gerich

    213 posts

    interesting, thanks.

    Jim

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

ExpressionEngine News!

#eecms, #events, #releases