Ray UK Posted August 14, 2015 Share Posted August 14, 2015 (edited) Is there a mobile detection script within PS 1.6.1 ? Im thinking there must be for mobile display, but I cant find it anywhere. I want to do something like {if isset ismobile} do this {else} do this {/if} Cheers Or is there a basic mobile theme (not the bootstrap) available for PS 1.6.1 as there isn't one included with the default theme. Edited August 14, 2015 by MerseyRay (see edit history) Link to comment Share on other sites More sharing options...
Ray UK Posted August 14, 2015 Author Share Posted August 14, 2015 Thanks Enrique, I will give that a go. Cheers Link to comment Share on other sites More sharing options...
webconcept76 Posted November 30, 2015 Share Posted November 30, 2015 Bonjour avant la version 1.6.13 j'utilisais la variable $isMobile avec une modif dans le FrontController pour la detection des appareils mobiles. Désormais $isMobile ne marche plus alors afin d'éviter de repasser partout ou j'ai fais des conditions je cherche à affecter 'mobile' à mon ancienne variable $isMobile dès que $mobile_device == 1 Avec le code ci-dessous mais sans sucés: {if isset($mobile_device) && $mobile_device} {assign var='isMobile' value='mobile'} {/if} Avez vous une piste ? Link to comment Share on other sites More sharing options...
fherrard Posted May 31, 2016 Share Posted May 31, 2016 Bonjour j'ai le même problème avez vous trouvé la solution ? Bien cordialement Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now