Difference between revisions of "Style Sheet for XML Budgets and Defined Default Classes"
From SmartWiki
Line 29: | Line 29: | ||
* [[XML Section Builder]] | * [[XML Section Builder]] | ||
* [[Custom Field Type: Special - XML Data]] | * [[Custom Field Type: Special - XML Data]] | ||
+ | |||
+ | |||
+ | [[Category:Under Construction]] |
Revision as of 13:04, 28 April 2016
Overview
XML data custom fields have been updated with a new default style sheet. This enhancement eliminates the need for hand coding HTML styling when creating XML data fields.
Applying the Default Style Sheet and Defined Default Classes
- Navigate to, and edit, the specific Special - XML Data custom field.
- In the XSL Template field, copy the section variable, then click on the Sample Template hyperlink.
- Inside the XSL Template field the Sample Template will be displayed.
- Locate the line within the Sample Template that reads " 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.
- 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.