silverstripe-archive / silverstripe-mobile

Mobile support module for SilverStripe CMS
http://silverstripe.org/mobile/
BSD 3-Clause "New" or "Revised" License
35 stars 36 forks source link

iPad detection option #20

Closed surfjedi closed 9 years ago

surfjedi commented 12 years ago

I have taken the modification i made to the 0.3 mobile module last year and updated this version. I only found it today.

I had seen an issue from Sminee https://github.com/silverstripe/silverstripe-mobile/issues/13.

I thought this might help things along.

I have it working with several different sites in the south lakes. You can see one http://warbirdsandwheels.co.nz here

Feel free to contact me I'm doing heaps of mobile sites(iPad, iPhone, android, tablet, etc) if i can help more than this

wilr commented 12 years ago

I had this discussion with several clients a couple months ago and while the iPad is a mobile device, quite often the full site is more practical than the mobile site so I'd recommend making what theme you deliver to devices changeable.

See https://github.com/silverstripe/silverstripe-mobile/issues/18 for more info

chillu commented 9 years ago

I don't think a device specific theme is the right way to go for this module. If its still required (as opposed to responsive CSS), I would suggest to refactor this into a theme which can be applied based on a number of factors (regex on user agent, device dimensions etc)