Class Extensions Upon Install - Mura Docs v6

Class Extensions Upon Install

Class extensions are now easier than ever to create when you install or update a plugin. By using the <extensions> option in the config.xml.cfm file, you can as many of any type of Class Extension available in Mura CMS.

/plugin/config.xml.cfm

<plugin>
...
<extensions>
<extension type="Page" subtype="News">
<attributeset name="News Options">
<attribute name="newsImage"
label="News Image"
hint=""
type="File"
defaultValue=""
required="false"
validation=""
regex=""
message=""
optionList=""
optionLabelList="" />
<attribute name="newsEditor"
label="Editor"
hint="The editor for the story"
type="TextBox"
defaultValue=""
required="false"
validation=""
regex=""
message=""
optionList=""
optionLabelList="" />
</attributeset>
</extension>
</extensions>
...
</plugin>