Organizational Research By

Surprising Reserch Topic

disable a magento mobile theme for tablet ipad


disable a magento mobile theme for tablet ipad  using -'magento,magento-1.7'

I made a website that include desktop as well as mobile theme.
It works perfectly fine, but in tablet & iPad it shows mobile theme that I don't want.
so I use the following exception


  (iPhone|iPod|BlackBerry|Pre|Palm|Googlebot-Mobile|mobi|Safari
  Mobile|Windows Mobile|Android|Opera
  Mini|mobile)|(!iPad|Silk|Kindle|Xoom|SCH-I800|Tablet)


but now also it shows mobile theme. Please help me how can I call desktop theme in tablet & iPad.
    

asked Oct 7, 2015 by tushar2k6
0 votes
29 views



Related Hot Questions

2 Answers

0 votes

I try a lot of strings. At last by using this string:

iPhone|iPod|Mobile

problem is solved. It shows desktop theme in table & in mobile shows mobile theme.

answered Oct 7, 2015 by akasati02
0 votes

For me, the mobile theme would still load on iPad when using "iPhone|iPod|Mobile" as the expression.

In the end I created two exceptions for each section as they work like an if / elseif statement.

First match was to match the devices I wanted the desktop theme to load for e.g. iPad|Tablet to load "default". The second match was for the other devices e.g. "iPhone|Mobile" to load the mobile theme.

answered Oct 7, 2015 by r3tt

...