making my site mobile device friendly

Permalink
Was wondering how/if I can take my site and make it friendly with mobile devices (smartphones etc.)

Example m.mysite.com?

 
kino replied on at Permalink Reply
kino
I have auto convert program for mobile.

http://c5.tktools.jp/index.php/concrete5/keitai/...

download mobile theme.
http://c5.tktools.jp/index.php/download_file/-/6/...

add this code at /config/site_themes_paths.php
if(file_exists(DIR_BASE . "/themes/mobile/custom_cellular.php")){
    $_CONF['site_url']= BASE_URL;
    define("RESIZER", "/themes/mobile/imageresizer.php");
    require_once(DIR_BASE . "/themes/mobile/custom_cellular.php");
    if(CUSTOM_MOBILE_is_cellular()) {
        $v = View::getInstance();
        $v->setTheme('mobile');
    }
}
redhawk replied on at Permalink Reply
I will try this. Not being a php developer, i was struggling with this. also quite new to concrete5.

appreciate the advice.
redtype replied on at Permalink Reply
it seems to strip down any fancy formatting, is that what it does? arigato! :)
kino replied on at Permalink Reply
kino
2 point.

1. strip down any fancy formaiing.
2. automatic image resizer.

but can't login.
only for display.
nbruley replied on at Permalink Reply
I am trying to strip down my mobile site to be as fast as possible for mobile devices. All I basically need is my main site photo, some links at the top, and a google iframe (https://spreadsheets.google.com/pub?hl=en&hl=en&key=0AiVqzEkmbQ0acDlSR053Z1NUQ0Q1bkl4SF9iSms5Q1E&single=true&gid=10&range=q1:s1000&output=html)
The iframe takes 2.5 seconds to load according to pingdom and the site
http://gospelriver.com/mobile/messages...
takes like 7... er I tried it again and it's 3.6 now so maybe my cache kicked in.
At any rate, my question is, I see the following file
http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js...
which is the only other huge file loaded. Do I need it for the mobile site, and if not, how do I only load it for selected pages (or disallow loading it for like 5 pages)?

Thanks!!
nbruley replied on at Permalink Reply
I created a custom header for my mobile site that did not load jquery and the site seems to work fine.