%[if edit]% %[if %("%id=config%" == "mobile_config")% ]%
This Webpage
On Mobile Devices
Redirects To
On Tablet Devices
Redirects To
On Laptop & Desktop Devices
Redirects To
%[endif]% %[if %("%id=config%" == "tablet_config")% ]%
This Webpage
On Mobile Devices
Redirects To
On Tablet Devices
Redirects To
On Laptop & Desktop Devices
Redirects To
%[endif]% %[if %("%id=config%" == "desktop_config")% ]%
This Webpage
On Mobile Devices
Redirects To
On Tablet Devices
Redirects To
On Laptop & Desktop Devices
Redirects To
%[endif]% %[endif]% %[if preview]% %[if %("%id=generate_code%" == "true")% ]%
Generated Mobilize Code
This code can be copied for use in non-Stack pages in your website.
Paste this code into Settings > Code > Prefix, within RapidWeaver.
You need to ensure that a file named Mobile_Detect.php is present on your web server. This does the mobile, tablet and desktop detection. You can download this file from http://mobiledetect.net/ and upload it to your web server using your preferred FTP software. Then update the second line in the code to change above to change
require_once 'http://example.com/resources/Mobile_Detect.php'; to the address where your Mobile_Detect.php is located.
%[endif]% %[endif]%