Changes

Jump to: navigation, search

Custom Field Type: Special - Advanced Data Table

35 bytes added, 19:29, 25 June 2013
no edit summary
==Multi Line Text==
To include [[Custom Field Type: Text – Multiple Lines|Multi -Line Text fields ]] in a web page view {{WPV}} you need use the following syntax to ensure that line breaks are displayed correctly.
<pre>
<div style="display:block;pd4ml-display:none;white-space:pre-wrap;" >~Narrative~</div>
<div style="display:none;pd4ml-display:block;white-space:pre;word-wrap:break-word;" >~Narrative~</div>
</pre>
The first div displays correctly in the web page view {{WPV}} and the second div displays correctly in the PDF version
Further MYSQL syntax to extract values from XML can be found at [http://dev.mysql.com/doc/refman/5.1/en/xml-functions.html MYSQL XML Functions] Note: this is an external website.
8,849
edits

Navigation menu