I think I've come up with the basic concepts to develop a theme for our upcoming website so that it can be accessed by smartphones and PDAs (those that use Mobile XHTML browsers with a screen width of at least 240 pixels, that is - I'm not even going to attempt to get a WAP browser to render something as complex as our site, even though I know from experience in coding WAP that it's possible - and a total pain in the ass... :-). (When I'm done with this mobile theme, I might release it to the community, as from what I can see there's only one other mobile theme that's ever been done.)
My question is, how do get my site to simultaneously run off multiple themes? I understand how to run multiple sites off one Drupal install; do I treat this as two separate sites accessing the same database? (And wouldn't that cause MySQL file locking problems?) I also know how to use a browser sniffer on our domain index to figure out who's on mobile - but what happens from there? What do I point the different broswers to? Thanks in advance for any help anyone can offer --
Comments
this sounds interesting...
what would be the best way to do this?
can you setup a 2nd url? perhaps mydrupalsite.com/pda/ ???
or would you "sniff" the browser and then serve the appropriate theme?
hmm...
Right...
...You got the gist of my problem. Now you tell me what to do - I'm stumped, too.
It occurred to me in retrospect that maybe the title of this thread is wrong. Maybe it should have been "Running multiple simultaneous themes for one Drupal site". That might describe the problem a little bit better - as ultimately, the PDA theme is just another theme. It's just that I need to access the same website via two different themes, at the same time: the desktop theme, and the PDA theme.
this would be useful
very...