Help! Mobile not working

Kat's Avatar

Kat

01 Mar, 2013 06:19 PM

Hi! I am so excited to get this up and running! Currently variables like {is_mobile} and {mobile_client} come up blank. The "Switch to Full | Mobile" links parse to "{url}?MOBILE_ACT=STF" and "{url}?MOBILE_ACT=STM" but just reload the page and never show the mobile template. The extension is installed and enabled in the control panel. Cookies are enabled. Templates are both saved as a file and appear in the EE control panel and database.

We are on EE 2.5.3 with Multi-Site Manager and using Pages. Right now we have version 0.9.5 from GitHub installed. Also tried v0.9.5 from devot-ee, and beta v2.0 from GitHub after reading some of the support tickets, but it wouldn't parse {is_mobile} or any of the mobile tags, so we switched back from beta to master.

Created a few templates, but here is one example of the naming...
Pages use this template: training/courses
Mobile template we created: mobile__training/courses

Any ideas what I can do to get it working?

Thanks!

  1. 1 Posted by Kat on 15 Mar, 2013 08:29 PM

    Kat's Avatar

    Hi! Any info on this or instructions on what I should try? Would really appreciate a response, thanks!

  2. 2 Posted by Kat on 21 Mar, 2013 06:37 PM

    Kat's Avatar

    I'm working from the Master version from github that shows up in EE as an Extension (version 0.9.5). It doesn't show up in my modules section where I can "Install" it, so to install it, all I do is disable the extension in the EE CP and then delete the files and re-copy them to my "third_party" folder.

    So I've been doing a little troubleshooting. It's exiting out on "No mobile template is found."

    I echoed out the mobile template it's using:
    mobile template group: __training mobile template: courses

    It doesn't seem to be parsing out the $this->_prefix

    {is_mobile} and {mobile_client} still aren't parsing. Maybe I have some setting wrong that doesn't allow me to switch or show these?

    I still haven't been able to fix this and haven't received any response for 3 weeks now, is anyone there? Please help... Thanks!

  3. 3 Posted by Kat on 21 Mar, 2013 07:23 PM

    Kat's Avatar

    I hard-coded the prefix to 'mobile' so at least now it's redirecting. {is_mobile} and {mobile_client} parsed on a phone, but not kindle.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac