Helper Methods & Template Rendering Methods

There are many helper objects attached to the Mura Scope. Here are a few commonly used helper methods:

$.dspInclude()

This method is used to include a CFML file (.cfm) and will automatically generate the path to the site's "includes" directory. For example:

… would include the file at …

$.dspThemeInclude()

This method is used to include a CFML file (.cfm) and will automatically generate the path to the current theme's directory. For example:

… would include the file at …

$.dspObject()

This method is used to include a Mura display object. For example, Mura components, plugins, feeds, forms, and several other display objects (e.g.,  comment, site map, navigation, etc.).

See the contentRenderer's dspObject method in Mura's Component API (http://www.getmura.com/mura/6/components/) for complete details.

Usage

Other Commonly Used Helper Objects