Mobile Site

by Sitebase

  • Can I use this script when I use .html files?

    Yes, that’s possible. Rename your index.html to index.php and then follow the documentation file to install the script in your index.php file.

  • For people like me who dont have an iphone or blackberry , how to check whether this works or not for thier site?

    You can add ?mobile=iphone to the url to force the mobile layout to show in a regular browser. But keep in mind that Mozilla and IE renders the HTML and CSS differently than for example the iPhone browser.

  • The script doesn’t work?

    Make sure you used the right type of quotes in the php include (“). I noticed when you copy and paste from the PDF documentation the quotes are wrong.

    <?php include ("Mobile/Mobile.php"); ?>
    

  • How to justify the page text?

    To do this you add the following css to your Mobile/css/default.css:

    .page .content{
        text-align: justify;
    }
    

  • Can i use php files instead of tpl files?

    You can use regular PHP code in the tpl files so there is not need to change the extension.

  • I’m getting the following:

    Warning: Cannot modify header information – headers already sent by (output started at …...) in ….. on line …

    The mobile.php include must be the first line of code you do in your website index.php file. Or you can add

    ob_start();
    in your index.php file.

  • Does this support iPod Touch?

    Yes

  • Is this just for wordpress (or can it be used for anything)?

    You can use it for all your PHP websites.

$10

Prepaid customers
pay just $8 - how? Prepay Your Account With our deposit system not only will purchasing be much faster, but we’ll also take $2 off the price! Find Out More Price

You must sign in or sign up to purchase this item.

12345 ( 55 ratings )

Purchase 441 purchases

Sitebase

Sitebase

Exclusive Author Item was Featured Author was Featured Author had a Free File of the Month Referred at least one person Sold between 10 000 and 50 000 dollars Bought between 1 and 9 items Belgium
File Types Included
PHP
Item Attributes
Created 11 October 09
PHP Version 5.x
MySQL Version N/A
Compatible Browsers FireFox 2, FireFox 3, IE6, IE7, IE8, Safari
PHP Files Included PHP
PHP Framework N/A
Collections that include this item