User Tools

Site Tools


en:user:gs3_sample_format_statements

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:user:gs3_sample_format_statements [2018/06/26 00:31] – [Displaying values in a bulleted list] kjdonen:user:gs3_sample_format_statements [2024/07/05 01:00] (current) – [Image Display Example] kjdon
Line 1: Line 1:
 +
 +
 +
  
 ====== Sample Greenstone3 Format Statements ====== ====== Sample Greenstone3 Format Statements ======
Line 153: Line 156:
 </code> </code>
  
 +==== Adjusting view for paged image documents ====
  
 +By default, paged image documents will display the image with the associated text underneath. A "view selector" offers **default** (both image and text) and **image** only and **text** only options.
 +These can be customised in the <display><format> element of the etc/collectionConfig.xml file.
 +
 +  *To hide the view selector:
 +<code>
 +<gsf:option name="viewSelection" value="false"/>
 +</code>
 +
 +  *To set the default view to image:
 +<code>
 +<paramDefault name="view" value="image"/>
 +</code>
 ===== Handling multi-valued metadata ===== ===== Handling multi-valued metadata =====
  
Line 370: Line 386:
  
 Greenstone provides a shorthand: **<gsf:html>"</gsf:html>**, which gets resolved to <xsl:text> with the disable-output-escaping attribute set.  Greenstone provides a shorthand: **<gsf:html>"</gsf:html>**, which gets resolved to <xsl:text> with the disable-output-escaping attribute set. 
- 
- 
- 
  
  
  
  
en/user/gs3_sample_format_statements.1529973088.txt.gz · Last modified: 2018/06/26 00:31 by kjdon