停用平板电脑和平板电脑的Magento移动主题的iPad [英] Disable a Magento mobile theme for tablet & iPad
问题描述
我制作了一个网站,其中既包含桌面主题也包含移动主题. 效果很好,但在平板电脑和平板电脑中iPad上显示了我不需要的移动主题. 所以我使用以下异常
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 手机| Windows Mobile | Android | Opera Mini | mobile)|(!iPad | Silk | Kindle | Xoom | SCH-I800 | Tablet)
(iPhone|iPod|BlackBerry|Pre|Palm|Googlebot-Mobile|mobi|Safari Mobile|Windows Mobile|Android|Opera Mini|mobile)|(!iPad|Silk|Kindle|Xoom|SCH-I800|Tablet)
但现在它也显示了移动主题.请帮助我如何在平板电脑和平板电脑中调用桌面主题iPad.
but now also it shows mobile theme. Please help me how can I call desktop theme in tablet & iPad.
推荐答案
我尝试了很多字符串.最后使用以下字符串:
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.
这篇关于停用平板电脑和平板电脑的Magento移动主题的iPad的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!