Skip to content

Instantly share code, notes, and snippets.

@davidpanzarella
Last active December 25, 2015 07:29
Show Gist options
  • Save davidpanzarella/6940137 to your computer and use it in GitHub Desktop.
Save davidpanzarella/6940137 to your computer and use it in GitHub Desktop.
This is a collection of Common Extended Attributes for Mura CMS. Pick and choose which is applicable to your project's content strategy.
<extension type="Page" subtype="Location">
<attributeset name="Location Options" container="Basic">
<attribute
name="locationAddress1"
label="Address Line 1"
hint="Enter Address Line 1 of the location"
required="true" />
<attribute
name="locationAddress2"
label="Address Line 2"
hint="Enter Address Line 2 of the location (ex. building number, etc.)"
required="false" />
<attribute
name="locationCity"
label="City"
hint="Enter the City of the location"
required="true" />
<attribute
name="locationState"
label="State"
hint="Enter the State of the location"
required="true"
defaultValue="CA"
type="SelectBox"
optionList="AL^AK^AZ^AR^CA^CO^CT^DE^DC^FL^GA^HI^ID^IL^IN^IA^KS^KY^LA^ME^MD^MA^MI^MN^MS^MO^MT^NE^NV^NH^NJ^NM^NY^NC^ND^OH^OK^OR^PA^RI^SC^SD^TN^TX^UT^VT^VA^WA^WV^WI^WY"
optionLabelList="Alabama^Alaska^Arizona^Arkansas^California^Colorado^Connecticut^Delaware^District of Columbia^Florida^Georgia^Guam^Hawaii^Idaho^Illinois^Indiana^Iowa^Kansas^Kentucky^Louisiana^Maine^Maryland^Massachusetts^Michigan^Minnesota^Mississippi^Missouri^Montana^Nebraska^Nevada^New Hampshire^New Jersey^New Mexico^New York^North Carolina^North Dakota^Ohio^Oklahoma^Oregon^Pennsylvania^Puerto Rico^Rhode Island^South Carolina^South Dakota^Tennessee^Texas^Utah^Vermont^Virginia^Virgin Islands^Washington^West Virginia^Wisconsin^Wyoming" />
<attribute
name="locationZip"
label="Zip"
hint="Enter the zip of the location"
required="true" />
<attribute
name="locationPhone"
label="Phone"
hint="Enter the phone of the location"
required="false" />
<attribute
name="locationEmail"
label="Email"
hint="Enter the email of the location"
required="false" />
</attributeset>
</extension>
<extension type="Page" subtype="Organization">
<attributeset name="Organization Options" container="Basic">
<attribute
name="orgAddress1"
label="Address Line 1"
hint="Enter Address Line 1 of the organization"
required="true" />
<attribute
name="orgAddress2"
label="Address Line 2"
hint="Enter Address Line 2 of the organization (ex. building number, etc.)"
required="false" />
<attribute
name="orgCity"
label="City"
hint="Enter the City of the organization"
required="true" />
<attribute
name="orgState"
label="State"
hint="Enter the State of the organization"
required="true"
defaultValue="CA"
type="SelectBox"
optionList="AL^AK^AZ^AR^CA^CO^CT^DE^DC^FL^GA^HI^ID^IL^IN^IA^KS^KY^LA^ME^MD^MA^MI^MN^MS^MO^MT^NE^NV^NH^NJ^NM^NY^NC^ND^OH^OK^OR^PA^RI^SC^SD^TN^TX^UT^VT^VA^WA^WV^WI^WY"
optionLabelList="Alabama^Alaska^Arizona^Arkansas^California^Colorado^Connecticut^Delaware^District of Columbia^Florida^Georgia^Guam^Hawaii^Idaho^Illinois^Indiana^Iowa^Kansas^Kentucky^Louisiana^Maine^Maryland^Massachusetts^Michigan^Minnesota^Mississippi^Missouri^Montana^Nebraska^Nevada^New Hampshire^New Jersey^New Mexico^New York^North Carolina^North Dakota^Ohio^Oklahoma^Oregon^Pennsylvania^Puerto Rico^Rhode Island^South Carolina^South Dakota^Tennessee^Texas^Utah^Vermont^Virginia^Virgin Islands^Washington^West Virginia^Wisconsin^Wyoming" />
<attribute
name="orgZip"
label="Zip"
hint="Enter the zip of the organization"
required="true" />
<attribute
name="orgPhone"
label="Phone"
hint="Enter the phone number of the organization"
required="false" />
<attribute
name="orgTollFree"
label="Toll Free Number"
hint="Enter the toll free number of the organization"
required="false" />
<attribute
name="orgFax"
label="Fax"
hint="Enter the fax number of the organization"
required="false" />
<attribute
name="orgWeb"
label="Web"
hint="Enter the website of the organization"
required="false" />
<attribute
name="orgEmail"
label="Email"
hint="Enter the email of the organization"
required="false" />
<attribute
name="orgMap"
label="Map"
hint="Enter the link to the map for the organization"
required="false" />
</attributeset>
</extension>
<extension type="Page" subtype="Person">
<attributeset name="Person Options" container="Basic">
<attribute
name="personFirst"
label="First Name"
hint="Enter the first name of the person"
required="true" />
<attribute
name="personLast"
label="Last Name"
hint="Enter the last name of the person"
required="true" />
<attribute
name="personTitle"
label="Title"
hint="Enter the title of the person"
required="false" />
<attribute
name="personPhone"
label="Phone"
hint="Enter the phone of the person"
required="false" />
<attribute
name="personEmail"
label="Email"
hint="Enter the email of the person"
required="false" />
<attribute
name="personExperience"
label="Experience"
hint="Enter the years of experience of the person"
required="false"
validation="numeric" />
<attribute
name="personAGCYears"
label="Years with AGC"
hint="Enter the years with AGC of the person"
required="false"
validation="numeric" />
<attribute
name="personResponsibilites"
label="Staff Responsibilities"
hint="Provides an box to enter a comma seperated list of Staff Responsibilities"
type="TextBox"
required="false" />
<attribute
name="personInterestGroups"
label="Interest Groups/Committee Liaisons"
hint="Provides an box to enter a comma seperated list of Interest Group/Committee Liaisons"
type="TextBox"
required="false" />
<attribute
name="personShowImage"
label="Show the person's image?"
hint="Provides an option to show or hide image."
type="SelectBox"
required="false"
defaultValue="false"
optionList="false^true"
optionLabelList="No^Yes" />
</attributeset>
</extension>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment