Closed (fixed)
Project:
Simple Mobile Redirect
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Apr 2011 at 18:23 UTC
Updated:
16 Jul 2014 at 07:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
cap60552 commentedI have created a patch to add this functionality.
Comment #2
jstamper commentedI needed something like this as well but I needed to be able to do multiple paths for QR codes. I've went a slightly different way with this that's very light. I just have the code check for for mobi_bypass=true and it exits out of the function with altering any other state.
I've included the patch for anyone who wants it.
Comment #3
adamfudge7 commented@jstamper - I've never installed a patch before, and I'm not a developer but can usually figure things out. I love being able to not redirect multiple paths for QR codes! A couple questions:
1. How do I actually apply the patch? Just put it in the module directory? Or is there more to it?
2. Once patch is installed, how do I specify which URLs don't get redirected?
Thanks!
Adam
Comment #4
jstamper commented@adamfudge7 You can read up on patches here. To apply the bypass just finish your url with ?mobi_bypass=true.
Example: http://www.example.org/node/1?mobi_bypass=true.
Comment #5
aaronott commentedAdded this bypass to both d6 and d7 versions.
Closing.
Comment #7
deanw commentedPost #5 says this patch has been applied to d6 and d7 in Aug 2012. How do I get a copy of that upgraded version? The latest download is from May 2012 and I don't see a dev version. Thanks
Comment #8
tzin111@gmail.com commentedhi,
im using drupal 7 and i also need the new version as #7 ask for.
my problem is like this:
1. i have main site
2. mobile site = m.domain.co.il
3. application with webview - app.domain.co.il
when you enter the main domain drom mobile its need to redirect to landing page that ask if the user want to install application or to go the mobile responsive site.
then i have a loop...
also if i enter m.domain.co.il from mobile its redirect me to the landing page.
if some body can help, it will be great :)
tnx,
nir