Thread: phpmobilizer

Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default 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!

  2. #2
    Join Date
    Oct 2008
    Location
    Croatia
    Posts
    1,751
    Plugin Contributions
    22

    Default 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.

  3. #3
    Join Date
    Feb 2007
    Posts
    819
    Plugin Contributions
    0

    Default Re: phpmobilizer

    i'll give that a try. thx!

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg