Custom Keys - Mura Docs v7.0

Custom Keys

As previously documented, Mura searches for custom ".properties" files, under the following directory:

{context}/{SiteID}/includes/themes/{ThemeName}/resourceBundles/

You don't have to include all of the key-value pairs from the original files. You only have to include the key-value pairs you wish to override. In addition, if you have any custom keys you would like to use in your site, you can simply include them in your custom ".properties" files.

Displaying Custom Keys

To output a custom key-value from your ".properties" file, simply use m.rbKey({keyName}).

So, for example, to output a key of "myCustomString", use the following syntax.

<cfoutput>
#m.rbKey('myCustomString')#
</cfoutput>