Created
November 6, 2013 22:41
-
-
Save muracms/7345532 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.dspInclude('display_objects/custom/myFile.cfm'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.dspThemeInclude('display_objects/myFile.cfm'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /{SiteID}/includes/themes/{ThemeName}/display_objects/myFile.cfm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.dspObject({object type} ,{objectID} [,{siteId}]); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfscript> | |
| // Displaying a Mura Display Object: | |
| $.dspObject({object type} ,{objectID} [,{siteId}]); | |
| // Rendering a Feed: | |
| $.dspObject('feed' ,{feedId | name}); | |
| // Rendering a Form: | |
| $.dspObject('form' ,{contentId | title}); | |
| // Rendering a Component: | |
| $.dspObject('component', {contentId | title}); | |
| // Rendering an Editable Attribute for Front-End Editing: | |
| // This feature currently supports 'text' and 'htmlEditor' type attributes. | |
| // The 'attribute' field is required. | |
| $.renderEditableAttribute( | |
| attribute='attributeName' | |
| , type={'text'|'htmlEditor'} | |
| , required={true|false} | |
| , validation='blank or a JavaScript regex' | |
| , message='Message to display if it does not pass validation' | |
| , label='Form Field Label' | |
| , value=$.content('attributeName') | |
| , enableMuraTag={true|false} | |
| ); | |
| </cfscript> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <cfoutput> | |
| #$.renderEditableAttribute( | |
| attribute='MyCustomVar' | |
| , label='My Custom Var' | |
| )# | |
| #$.renderEditableAttribute( | |
| attribute='MyCustomVar' | |
| , label='My Custom Var' | |
| , type='htmlEditor' | |
| )# | |
| </cfoutput> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.getContentRenderer(); | |
| $.getThemeRenderer(); | |
| $.getBean({beanType}); | |
| $.getPlugin({package|pluginID|moduleID}); | |
| $.getTopID(); | |
| $.getTopVar({varName}}; | |
| $.setDynamicContent({variableOrFunctionCall}); | |
| $.createHREF( | |
| filename={filename} | |
| // some of the optional arguments | |
| , type={type} | |
| , siteid={SiteID} | |
| , contentID={ContentID} | |
| , complete={complete} | |
| , showMeta={showMeta} | |
| , queryString={queryString} | |
| ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /{SiteID}/includes/display_objects/custom/myFile.cfm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment