tag:support.baseworks.nl,2011-05-09:/discussions/mobile/53-mobile-not-redirecting-not-parsing-is_mobile-and-mobile_clientBaseworks: Discussion 2018-10-19T04:38:28Ztag:support.baseworks.nl,2011-05-09:Comment/205659392012-11-07T15:15:15Z2012-11-07T15:15:15ZMobile not redirecting, not parsing {is_mobile} and {mobile_client}<div><p>Hi Wouter,</p>
<p>Installed your extension on a client's website, but have trouble
getting it to work properly.<br>
This is how my template structure looks like:</p>
<p>pages *<br>
- index - static</p>
<p>mobile__pages<br>
- index - static</p>
<p>The index file in the template group 'pages' is my site
homepage. On mobile devices, mobile__pages/index should be shown,
but instead I just get to see the regular index page. Same goes for
the static template.</p>
<p>The variables {is_mobile} and {mobile_client} are not being set
(neither on mobile or on desktop). The stf and stm links are being
generated though.</p>
<p>I am using EE 2.5.3 with Structure 3.3.4. Freebie is disabled so
that can't be interfering.</p>
<p>Any clues?</p></div>Maiktag:support.baseworks.nl,2011-05-09:Comment/205659392012-11-07T15:48:38Z2012-11-07T15:48:38ZMobile not redirecting, not parsing {is_mobile} and {mobile_client}<div><p>Hi Maik,</p>
<p>Which version of Mobile are you using? Apparently a few of my
commits to a local development branch made it onto the master
branch on GitHub, so you might've downloaded a faulty version.</p>
<p>I have corrected that and committed a fully working version back
to the master branch on GitHub.</p>
<p>– Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/205659392012-11-07T15:53:33Z2012-11-07T15:53:33ZMobile not redirecting, not parsing {is_mobile} and {mobile_client}<div><p>Hi Wouter, just updated to 0.9.7 this afternoon.</p></div>Maiktag:support.baseworks.nl,2011-05-09:Comment/205659392012-11-08T20:33:33Z2012-11-08T20:33:34ZMobile not redirecting, not parsing {is_mobile} and {mobile_client}<div><p>Same issue as Maik listed. It's not redirecting or parsing the
Mobile variables, but the links are being generated. Using 0.9.7.
Any ideas?</p>
<p>I appreciate the help.</p></div>Johntag:support.baseworks.nl,2011-05-09:Comment/205659392012-11-08T21:53:51Z2012-11-08T21:53:51ZMobile not redirecting, not parsing {is_mobile} and {mobile_client}<div><p>I reverted the add-on to an older version as some of my (messed
up) commits seem to have introduced some errors. Please download a
fresh copy (0.9.5) and it should work again.</p>
<p>Sorry for all the troubles and I will look into it a bit
more.</p>
<p>– Wouter</p></div>Wouter Vervloettag:support.baseworks.nl,2011-05-09:Comment/205659392012-11-08T22:08:35Z2012-11-08T22:08:35ZMobile not redirecting, not parsing {is_mobile} and {mobile_client}<div><p>v0.9.5 works great. This is going to be a big help. Thank
you.</p></div>John