This author's response time can be up to 2 business days.
Superb – works straight “out of the box”, just needed to alter the destination website. If only scripts were always this easy to implement!
I’d love to leave a 5 star rating but can’t find a link!
If you set the redirect to automatic, which is what I would prefer, it seems there’s no way back to the main site. What I’d like to do is redirect automatically but allow them to click a link to go the main site if they wish. It sounds like it should be possible but I can’t see exactly what to alter.
Hi, thank you for your purchase!
You can find the rating right under the download button.
As for the change you want to make, you could use a small script to set the cookie to desktop and then redirect users back to the main website.
Weird – I can see the download link, and further down are the existing ratings and I can expand them, but no way to rate. Sorry.
If I just add a link on the mobile site back to the main site the standard cookie script disallows it – can you tell me how to alter the link code to reset the cookie to desktop? Any other steps are required? If you can’t that’s okay – I’ll just keep trying and hope like the infinite monkeys I can hit on the solution!
PS I don’t have a smartphone (no signal here) and I believe I read while setting up the cookie script does not work on desktops so it’s impossible for me to test?
Here’s my attempt at a script on the mobile site:
/* This function sets the cookie /
days=1; // number of days to keep the cookie
myDate = new Date();
document.cookie = ‘cookieName=desktop; expires=’ + myDate.toGMTString();
/ end of cookie function */
And the link:
a href=”http://www.normandie-chambres.co.uk/indexredirect.html” onclick=”createNewCookie()”>Set Cookie and Go to Desktop Site—>
I also set
var showRedirectWindow = ‘false’
in the main mobile-detect-redirect script so the user goes straight to mobile.
Am I missing anything?
Hi, on your downloads page you will find the download button and right under it there are 5 stars, they should be grey.
Please open a support ticket and I will try to help you make the changes.
I worked it out in the end, BTW.
Not sure if this can work… i have a responsive site, but also an app… i saw this features in another web sites.
User using android, when he lands to the web site, he is redirected to the app Google Play in order to download the android app; otherwise (user using iphone, blackberry, desktop etc) can enter normally the responsive web site.
Can I do that?...
Hi, that isn’t a default feature but the script can be modified to do that.
If you decide to purchase it, please open a support ticket after and I will assist you.
Hi is it possible to detect a site that goes smaller than a certain width and prompt the user to redirect to a mobile site?
Hi thank you for your purchase!
It is possible to that, but not with this script. This script detects the device not the size of the display.
You can contact me for custom work if you would like me to build it for you.
My website have two version English and French, can this script could save and remember user choice to redirect it?
By default no, since the script was developed to redirect from one URL to another URL, but depending on how your website works, you could either use two scripts (one for English, one for French) or modify the script to detect the current language and redirect to the appropriate URL.
I’m available for freelance and if you’d like I could take a look at your website and give you more details. Please contact me from my profile.
thx but I already found the way to do it with jquery.cookie.js
Your script doesn’t pass variables after a ”?” to the mobile site.
Example: visit blah.com/?test and when you make the setting in the js file to redirect to the mobile page, it doesn’t redirect to m.blah.com/?test it only redirects to m.blah.com
Any chance for a fix for this?
Hello, thank you for your purchase!
The script redirects to another URL, it doesn’t use the main URL to create the mobile URL, so if you want to use variables on the mobile URL you will have to add them after the mobile URL in the .js file.
For further support please open a support ticket here:
The splash screen seems too small on my phone. Take a look at http://www.blakepaving.com and let me know the steps to make it readable/larger. Thanks
It may be related to your viewport settings, please take a look at this page:
Support for this template is provided here:
Users on mobile website should be able to get to the desktop version of the website if they want. I inserted a link to the desktop version in the menu of the site. Is it possible or is the user always be redirected to the mobile site with that script?
If the cookie is set, then they will always be redirected. But only if they check the remember my choice option.
Sorry, i did not understand. Is it possible to guide the users trugh a link to the desktop version of the website, when they are on the mobile site?
If the cokie was not set, then yes, if the user clicked the “remember my choice” button then a cookie will be set and they will be redirected automatically. You would need to remove the cookie (or alter it) and then send them back to the desktop version, but this function ia not included.
Hello. i would like to add this to my PrestaShop 1.6.1 .
for android devices i want to redirect to the google play
and for ios devices to the ios play store
can it be done please.
when i use the item support its telling me invalid purchase? i just purchased it
Hello, thank you for your purchase,
Sorry for the delay.
It can be done, you will have to embed the script in the header, as explained in the instructions included with the script. Since this is not a plugin (like the one for WordPress), a few lines of code need to be customized.
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
Use, by you or one client, in a single end product which end users can be charged for. The total price includes the item price and a buyer fee.
View license details
Get it now and save up to $1.50
Deliver better projects faster. Photos, templates & courses
Unlimited downloads. Only $29/month
Learn almost anything with
Envato Tuts+ for free
25,000+ tutorials and 1,000+ courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work