Changes

Custom Field Type: Special - Advanced Data Table

576 bytes added, 21:07, 19 December 2018
Modifying the Advanced Data Table template
====Modifying the Advanced Data Table template====
# Download the templates used for the '''Advanced Data Table''' and the '''Display Text and Variables''' fields [[File:TEMPLATES.zip]].# In the desired '''Advanced Data Table''' Field paste the content from the xsl_template_1290 file you downloaded, into the XSL Template input.# Change the href in the link to the relative URL that points to the CSS file you previously uploaded to the SmartFolder (Example href="/files/000000/f000000/xml-onscreen-1290.css").# Update the text called '''Title''' in two places inside the XSL template.
# Update '''@section.Section Node Name@''' with the '''Section Node Name''' you want to display.
# Modify the class wrapper with the amount of columns in your section. Example '''class="xml6col"''' is for a 6 column section. If you have 2 columns, change it to '''class="xml2col"'''.
# Save the Advanced Data table Field.
 
Now when you click the button to open the Advanced Data Table you will see your columns will render nicely.
 
Note on this field under Display you can customize the Button Label. To meet with Accessibility guidelines you must change the button label from '''Open''' to something meaningful like '''Modify Budget'''. The user must know what the button will do based on the text in the button. You cannot have a generic link that says '''open''' or '''click here''' as that does not provide enough information when read out of context.
===Styling XML Data for Printing===
Smartstaff, administrator
3,579
edits