Site contentRenderer.cfc - Mura Docs v6

Site contentRenderer.cfc

Every site in Mura has a Site contentRenderer.cfc located at /{SiteID}/includes/contentRenderer.cfc. It simply extends the base mura.content.contentRenderer component. It is provided to allow you to override or add new rendering behaviors on a per-site basis. In addition, all Site contentRenderer methods are available from the Mura Scope site-specific events.

For example, if you were to add the following method to your site's local contentRenderer:

public any function dspDateTime() {
return now();

You would then be able to refer to that method as: