How do I add mobile detection and formatting to our Sitemason Pagebuilder site?
Thanks in advance, Jay
Comments
Billy White
Sitemason, Inc.
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.
January 10, 2011 09:02
Jay Graves
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?
January 10, 2011 16:44
Billy White
Sitemason, Inc.
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.
Comments
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.