Detect Mobile
ExpressionEngine 2, ExpressionEngine 5
Back to this add-on's main page
View Other Add-ons From Gareth Davies
Send iPads to mobile
Support Request
AlanG
|
Posted: 19 March 2013 09:17 AM |
|
|
|
I have this setup and directs mobile devices as it should however it als sends iPads to mobile even when tablet=“no” is used.
Please advise on fix
|
|
|
ITU Webmaster
|
Posted: 19 March 2013 12:45 PM |
# 1
|
|
Developer
|
Hi, Can I just confirm the code you are using to redirect?
Also could you put this in an empty template and let me know the output/
{if '{exp:detect_mobile:type}' == "tablet"} I am a tablet {if:elseif '{exp:detect_mobile:type}' == "phone"} I am a mobile phone {if:else} I am not a mobile device {/if}
|
|
|
ITU Webmaster
|
Posted: 31 March 2013 02:25 PM |
# 2
|
|
Developer
|
Did you have any further information with this issue. I have tested on an iPad (version 2) and it is working as expected.
|
|
|