asked this on January 09, 2011 13:59
How do I add mobile detection and formatting to our Sitemason Pagebuilder site?
Thanks in advance, Jay
Hey Jay,Mobile browser detection happens at the template level. Specifically, this PHP method is used. It's a simple boolean that returns true if a mobile browser is detected.
Okay, once I sniff for and find for a mobile browser are there any samples of what to set up in site builder to display mobile pages?
It's usually setup at the template level. The true/false of the isMobileBrowser is often used by the template to switch between style sheets when you want to style the same HTML markup differently for a mobile vs standard version of the site.
The other option is to setup a separate mobile site entirely with new Site Builders and aliasing to the existing site content, or in some cases, creating separate mobile content entirely.
Email me and we can discuss your options. In ether case, programming is involved to the template or the CSS or both.
Support Software by Zendesk