Zen Cart Logo

phpmobilizer

Views: 1,331

Results 1 to 3 of 3
10 Dec 2012, 7:58 PM
#1
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

phpmobilizer

has anyone used phpmobilizer to create a mobile version of their site.
you create a subdomain called m. and then upload the php files to that subdomain.
then if you want automatic redirection you add this line of code to the "index" file somewhere.

require_once('/home/path/to/subdomain/m/mobilize.php');php-mobile-detect

my question is which file do i use and where do i put that line of code?

thanks!

10 Dec 2012, 8:18 PM
#2
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,798
Plugin Contributions:
22

Re: phpmobilizer

I haven't used it, but I believe that line should go in your includes/templates/YOUR_TEMPLATE/common/html_header.php file, probably somewhere in the first few lines.

10 Dec 2012, 10:20 PM
#3
gsdcypher avatar

gsdcypher

Totally Zenned

Join Date:
Feb 2007
Posts:
816
Plugin Contributions:
0

Re: phpmobilizer

i'll give that a try. thx!