Skip to content

Instantly share code, notes, and snippets.

@muracms
Last active December 27, 2015 15:09
Show Gist options
  • Select an option

  • Save muracms/7345174 to your computer and use it in GitHub Desktop.

Select an option

Save muracms/7345174 to your computer and use it in GitHub Desktop.
/{siteID}/includes/display_objects/dsp_folder.cfm
/{siteID}/includes/display_objects/custom/extensions/dsp_Folder_News.cfm
dsp_{Type}_{SubType}.cfm
/{siteID}/includes/themes/{theme}/display_objects/custom/extensions/dsp_{Type}_{SubType}.cfm
on[Type]BodyRender
on[Type][SubType]BodyRender
public any function onPageBlogBodyRender($) {
// setDynamicContent() method is what parses
// and executes the [mura][/mura] tags
WriteOutput($.setDynamicContent($.content('body')));
// You can create structured output with
// custom attributes
WriteOutput('Product Description: ');
WriteOutput($.content('productDescription'));
}
public string function onPageBlogBodyRender($) {
return $.setDynamicContent($.content('body'));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment