Changes

Jump to: navigation, search

Style Sheet for XML Budgets and Defined Default Classes

679 bytes added, 21:34, 19 December 2016
no edit summary
<table class="wikitable"><tr><td style="padding: 10px;"><big>This page has been deprecated</big></td><td style="padding: 10px;">See [[Custom Field Type: Special - XML Data]]</td></tr></table>
 
==Overview==
XML data custom fields have been updated with a new default style sheet. This enhancement eliminates the need for hand coding coded HTML styling when creating XML data fields.
==Applying the Default Style Sheet and Defined Default Classes==
 
===Updates to the XML Data Custom Field===
 
1. Navigate to, and edit, the specific '''Special - XML Data''' custom field.<br />
2. In the XSL Template field, copy the section variable, then click on the '''Sample Template''' hyperlink.<br />
3. Inside the XSL Template field the Sample Template is populated.<br />
 
:[[Image:Xsl_sample_template.png|link=|500px]]<br />
:''Illustration of the XSL Template field with the Sample Template code populated (above).''
 
 
4. Locate the line within the Sample Template that reads '''"<---- Insert section variable here ---->"''' and replace it with the section variable copied from step 2.<br />
:[[Image:Xsl_samplate_template_section_name.png|link=|500px]]
 
 
 
 
5. Under the '''Options''' section, add a check mark to the '''Enable Builder''' field.<br />
6. Click '''Save'''.
 
 
===The New Section Builder===
 
1. At the top of the Custom Field page click on the '''Section Builder''' icon.
 
:[[Image:Section_builder_icon.png|link=]]<br />
:''Section Builder icon illustrated (above).''<br />
 
2. The '''New Section Builder''' page is displayed.<br />
3. Under Section, click on the '''custom field hyperlink''', this action will populate the Edit Section and the Cell Grid section with the field details.<br />
 
 
 
:[[Image:XML_Section_Builder_Section.png|link=]]
 
# Navigate to, and edit, the specific '''Special - XML Data''' custom field4.# In Inside the XSL Template fieldEdit Section, copy ensure that the section variable, then click on the '''Sample Template''' hyperlink.# Inside the XSL Template field the Sample Template will be displayedApply Default Styles check box is checked.# Locate the line within the Sample Template that reads '''"<!---- Insert section variable here ----br /> and replace it with the section variable copied from step 2.# Click '''Save'''.# Under the '''Options''' section, add a check mark to the '''Enable Builder''' field.
# At the top of the Custom Field page click on the '''Section Builder''' icon.
# The '''New Section Builder''' page is displayed.
# Under Section, click on the custom field hyperlink, this action will populate the Edit Section and the Cell Grid section with the field details.
# Inside the Edit Section, ensure that the Apply Default Styles check box is checked.
===Cell Grid===
# In the Cell Grid section, clicking on any of the cells will populate the cell details into Cell Properties
# Once the cell grid has been updated, if any are required, click Build to save the changes.
# In the Cell Grid section, clicking on any of the cells will populate the cell details into Cell Properties.
# To save and apply all changes, click '''Build'''.
==See Also==
Smartstaff, administrator
3,321
edits

Navigation menu