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
| $.content(); |
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
| public void function onSiteRequestStart($) { | |
| var customKey = 'This is my custom key!'; | |
| $.setCustomMuraScopeKey('customKey', customKey); | |
| } |
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
| bean=$.getBean( {beantype} ).loadBy( | |
| {property}={propertyValue} [ ,siteID={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
| component { | |
| /* | |
| You must include the applicationSettings.cfm file to | |
| share the same Application.cfc | |
| */ | |
| include "../../config/applicationSettings.cfm"; | |
| include "../../config/appcfc/onApplicationStart_method.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
| <plugin> | |
| ... | |
| <ormcfclocation>path/to/entites</ormcfclocations> | |
| ... | |
| <plugin> |
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
| <plugin> | |
| ... | |
| <extensions> | |
| <extension type="Page" subtype="News"> | |
| <attributeset name="News Options"> | |
| <attribute name="newsImage" | |
| label="News Image" | |
| hint="" | |
| type="File" | |
| defaultValue="" |
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
| component extends="mura.cfobject"{ | |
| variables.dateManager = ""; | |
| public library function init(){ | |
| return this; | |
| } | |
| public any function getRandomValue() { | |
| return randRange(1,100); | |
| } |
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
| <plugin> | |
| ... | |
| <OrmCFCLocation>/orm</OrmCFCLocation> | |
| <CustomTagPaths>customtags</CustomTagPaths> | |
| <displayobjects location="global"> | |
| <displayobject | |
| name="Configured Object" | |
| displaymethod="dspConfiguredObject" | |
| component="displayObjects.displayObjects" | |
| configuratorInit="initExampleConfigurator" |
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
| variables.pluginConfig |
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
| <cfinclude template="plugin/config.cfm" /> | |
| <cfsavecontent variable="body"> | |
| <cfoutput> | |
| <h2>#pluginConfig.getName()#</h2> | |
| <p>Description of you plugin goes here.</p> | |
| </cfoutput> | |
| </cfsavecontent> | |
| <cfoutput> | |
| #$.getBean('pluginManager').renderAdminTemplate( | |
| body=body |