Created
July 23, 2014 08:50
-
-
Save contensis/4becfbda9b08facac417 to your computer and use it in GitHub Desktop.
Custom Structured Content Type within a marketplace package.
This file contains 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
<?xml version="1.0" encoding="utf-8" ?> | |
<module name="Test" moduleID="28949B9F-0383-4C01-8CFA-7B885DD49D56" version="1.0" sqlTableName="MyPackage" featureName="MyPackage"> | |
<references> | |
<reference name="CMS_API.WebUI.WebControls.SimpleControls.dll" /> | |
<reference name="CMS_API.CmsUI.WebControls.dll" /> | |
<reference name="CMS_API.WebUI.WebControls.dll" /> | |
<reference name="Telerik.Web.UI.dll" /> | |
</references> | |
<fieldset> | |
<field name="Text" type="ntext" options="CMSHtml, SaveToHtmlContent" /> | |
</fieldset> | |
<forms> | |
<form name="UserForm" type="Edit" isDefault="true"> | |
<control type="Div"> | |
<property name="cssclass" value="'sys_dialogueform'" /> | |
<control type="FieldSet"> | |
<property name="cssclass" value="'sys_fieldsettype1'" /> | |
<control type="Legend"> | |
<property name="InnerText" value="'My test structured content'" /> | |
</control> | |
<control type="Div"> | |
<property name="cssclass" value="'sys_formgroup'" /> | |
<control id="Text" type="CMS_API.CmsUI.WebControls.ModuleTextBox"> | |
<property name="Value" value="#field.Text" /> | |
<property name="LabelText" value="'Username'" /> | |
<property name="ControlInstance.TextMode" value="'1'" /> | |
<property name="ControlInstance.Rows" value="'2'" /> | |
<property name="FormSetWidth" value="6" /> | |
</control> | |
</control> | |
</control> | |
</control> | |
</form> | |
<form name="ProductForm" type="Edit" isDefault="true"> | |
<control type="Div"> | |
<property name="cssclass" value="'sys_dialogueform'" /> | |
<control type="FieldSet"> | |
<property name="cssclass" value="'sys_fieldsettype1'" /> | |
<control type="Legend"> | |
<property name="InnerText" value="'My test structured content product'" /> | |
</control> | |
<control type="Div"> | |
<property name="cssclass" value="'sys_formgroup'" /> | |
<control id="Text" type="CMS_API.CmsUI.WebControls.ModuleTextBox"> | |
<property name="Value" value="#field.Text" /> | |
<property name="LabelText" value="'My product name'" /> | |
<property name="ControlInstance.TextMode" value="'1'" /> | |
<property name="ControlInstance.Rows" value="'2'" /> | |
<property name="FormSetWidth" value="6" /> | |
</control> | |
</control> | |
<control id="Text" type="CMS_API.CmsUI.WebControls.ModuleTextBox"> | |
<property name="Value" value="#field.Text" /> | |
<property name="LabelText" value="'My product info'" /> | |
<property name="ControlInstance.TextMode" value="'1'" /> | |
<property name="ControlInstance.Rows" value="'2'" /> | |
<property name="FormSetWidth" value="6" /> | |
</control> | |
</control> | |
</control> | |
</control> | |
</form> | |
</forms> | |
</module> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment