Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:user:gs3_list_of_format_options [2018/11/05 10:25]
kjdon [List of Greenstone3 Format Items]
en:user:gs3_list_of_format_options [2019/09/24 14:05] (current)
kjdon [Options]
Line 29: Line 29:
 |viewSelection|false|display|If false, will not show the text/​image/​default view selector for paged image documents. | |viewSelection|false|display|If false, will not show the text/​image/​default view selector for paged image documents. |
 |slideShow|false|display|If false, will not display the slideshow option for paged image documents | |slideShow|false|display|If false, will not display the slideshow option for paged image documents |
-|[[user_comments|AllowUserComments]]|true|display|If set to true, will allow users to add comments to public collections. Users need not have editing permissions for a collection they wish to add comments to. They just need to have an account on that Greenstone Digital Library.| +|[[user_comments|allowUserComments]]|true|display|If set to true, will allow users to add comments to public collections. Users need not have editing permissions for a collection they wish to add comments to. They just need to have an account on that Greenstone Digital Library. ​(was AllowUserComments prior to 3.10)
-|[[en:​user_advanced:​web_editor|AllowDocumentEditing]]|true|display|If set to true (or is absent), will allow authenticated users (that have been assigned the correct group) the ability to edit document text and metadata through the web site. Set this to false to disable document editing. (since 3.09)|+|[[en:​user_advanced:​web_editor|allowDocumentEditing]]|true|display|If set to true (or is absent), will allow authenticated users (that have been assigned the correct group) the ability to edit document text and metadata through the web site. Set this to false to disable document editing. (since 3.09, was AllowDocumentEditing for 3.09)| 
 +|[[en:​user_advanced:​web_editor|allowMapGPSEditing]]|true|display|If set to true (or is absent), will allow authenticated users (that have been assigned the correct group) the ability to add and edit GPS data through the web site. Set this to false to disable the Map GPS editing controls. (since 3.10)|
  
 ===== Parameter Defaults ===== ===== Parameter Defaults =====
Line 154: Line 155:
 |''<​gsf:​collectionText name='​xxx'/>''​| ​ |Display the xxx from the current collection'​s colname.properties file (found in resources folder inside the collection) | |''<​gsf:​collectionText name='​xxx'/>''​| ​ |Display the xxx from the current collection'​s colname.properties file (found in resources folder inside the collection) |
 |''<​gsf:​html>&​lt;​li&​gt;</​gsf:​html>''​| <​li>​|Sometimes you want to output some HTML that is not valid XML in the config file. For example, adding <li> and </li> as prefix and suffix to a list of metadata values. In the final HTML it will be valid XML, but in the template it won't be. So use escaped < and > and enclose the text in <​gsf:​html>​ tags.| |''<​gsf:​html>&​lt;​li&​gt;</​gsf:​html>''​| <​li>​|Sometimes you want to output some HTML that is not valid XML in the config file. For example, adding <li> and </li> as prefix and suffix to a list of metadata values. In the final HTML it will be valid XML, but in the template it won't be. So use escaped < and > and enclose the text in <​gsf:​html>​ tags.|
 +|''<​gsf:​variable name='​xxx'>​value</​gsf:​variable>''​| ​ |Will output an <​xsl:​variable>​ into the transform result. Also, sets gs.variables.xxx = value, which is available for use in javascript code.|
  
 ===== Conditional ===== ===== Conditional =====