Hi!
Browsing through the config of the plugin, it does offer a flag "redirection" that you can disable, so that users are by default not forwarded. Also you can set a "sticky host", so that when that domain name is used by a browser, redirection will not be performed. So with this you could setup 3 VHosts for your blog: "
www.domain.com", "mobile.domain.com" and "nomobile.domain.com". You could then enable redirection to mobile.domain.com, and in your template add a link to the sticky domain nomobile.domain.com to prevent misdirection.
The user agent detection is done through the "mobile.class.php" extenion, that uses a "isMobileDevice" flag.
This one currently does browser detection based on the user agent, and tests for:
Code: Select all
/(up.browser|up.link|windows ce|iemobile|mmp|symbian|smartphone|midp|wap|phone|vodafone|o2|pocket|mobile|pda|psp)/
plus it checks the first 4 bytes for a match to this:
Code: Select all
'acs-','alav','alca','amoi','audi','aste','avan','benq','bird','blac','blaz','brew','cell','cldc','cmd-','dang','doco','eric','hipt','inno','ipaq','java','jigs','kddi','keji','leno','lg-c','lg-d','lg-g','lge-','maui','maxo','midp','mits','mmef','mobi','mot-','moto','mwbp','nec-','newt','noki','opwv','palm','pana','pant','pdxg','phil','play','pluc','port','prox','qtek','qwap','sage','sams','sany','sch-','sec-','send','seri','sgh-','shar','sie-','siem','smal','smar','sony','sph-','symb','t-mo','teli','tim-','tosh','tsm-','upg1','upsi','vk-v','voda','wap-','wapa','wapi','wapp','wapr','webc','winw','winw','xda','xda-'
As far as template development goes, I sadly don't know enough for optimizations to help...but it would be great to get one template kickstarted. Maybe the provided templates that ship with the plugin can be modified for better guidance?!
Regards,
Garvin