Difference between revisions of "Style Sheet for XML Budgets and Defined Default Classes"
From SmartWiki
(Created page with "==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...") |
|||
Line 11: | Line 11: | ||
# Inside the XSL Template field the Sample Template will be displayed. | # Inside the XSL Template field the Sample Template will be displayed. | ||
# Locate the line within the Sample Template that reads '''"<!---- Insert section variable here ----> and replace it with the section variable copied from step 2. | # Locate the line within the Sample Template that reads '''"<!---- Insert section variable here ----> 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. | # 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. | # At the top of the Custom Field page click on the '''Section Builder''' icon. | ||
# The '''New Section Builder''' page is displayed. | # 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. | # 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. | ||
+ | |||
+ | |||
+ | ==See Also== | ||
+ | |||
+ | * [[XML Section Builder]] | ||
+ | * [[Custom Field Type: Special - XML Data]] |
Revision as of 11:36, 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.