Is there a way that I can make a mobile phone-friendly theme in WML for my website, so people can use the site in a WAP browser? I still want to have a full HTML theme for visitors with normal browsers (IE, Mozilla, Opera, etc.), with all the nice images and stuff. People visiting with a mobile phone though would be directed to the WAP version.

Many thanks, :-)
Eoin

Comments

adrian’s picture

but mobile friendly. I am quite sure the google wap gateway would turn it into actual WML quite well

Oasis Magazine Mobile

It's built on the next version of PHPTemplate that I hope to release soon. The mobile template switch is accomplished by 2 lines in the config file (check if the domain is mobile.* , and override the template to mobile)

The template will come default with the theme, so hopefully drupal sites become more mobile in general

  Sanity is a sandbox in the playground of my mind.
     I'm going to go play on the swings now.
mpd’s picture

Is there a version of phptemplate that has this capability? If it exists, can you make it available?

moonthedog’s picture

Is there a way to have the site auto-sense the browser.

bertboerland’s picture

please look at http://drupal.org/node/8330 and update the request if it works
--
groets
bertb

--
groets
bert boerland

moonthedog’s picture

As posted there, I am not a programmer and I am trying to learn php by doing. Is your suggestion to add the quoted language to .htaccess file in the drupal directory?

If so, then what?

I don't see that it redirects the browser to a new php file developed for the specific browser.

I really appreciate your help.