Using the Mura Tag - Mura Docs v6

Using the Mura Tag

There are a variety of ways we can use the Mura Tag, especially in conjunction with the Mura Scope (see the Mura Scope section).

$.dspInclude()

This method is used to include a .CFM file from the site's "includes" directory. For example:

[mura]$.dspInclude('display_objects/custom/inc/theFile.cfm')[/mura]

… would include the file at …

/{SiteID}/includes/display_objects/custom/inc/theFile.cfm

CFML Functions

We can also use the Mura Tag to run standard CFML functions. For example, the following code would output a standard CFML timestamp:

[mura]Now()[/mura]