Mobile

As of release 5.4, Mura CMS supports alternate rendering for mobile devices.

Mura CMS will automatically detect if a user is viewing a site on a mobile device, and if a template file called "mobile.cfm" is present in that site's templates directory, Mura CMS will use that template to serve the requested content to the device. Every theme shipped with Mura CMS will contain a "mobile.cfm" file, so this automatic presentation of a mobile-optimized experience will be default behavior for Mura CMS 5.4 sites using one of these themes. (To disable this behavior, simply remove the "mobile.cfm" from the "templates" directory).

When a user's mobile device is detected and the page presented with the "mobile.cfm" template, Mura CMS sets a  cookie to maintain the device-appropriate experience, but users can toggle between the full version and the mobile version of a site (via links presented in the templates by the site's developers).

It should also be noted that the jQuery Mobile framework is optional and is not required to create mobile device handling and presentation in Mura CMS. We've chosen to include it because it provides a quick and powerful way to enable an alternate experience for mobile users. Developers who wish to use another approach or mobile templating system can use the mobile.cfm file as a starting point and customize it to their specific needs.

For information about developing for mobile devices on Mura CMS and how jQuery Mobile is used, please see our Front-End Developer Docs.