User Tools

Site Tools


en:user:gs2_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 revisionBoth sides next revision
en:user:gs2_format_statements [2016/05/12 00:11] kjdonen:user:gs2_format_statements [2016/05/12 00:16] kjdon
Line 1: Line 1:
-======Greenstone 2 Format Statements======+======Greenstone 2 Formatting======
  
  
 =====Site-wide formatting options===== =====Site-wide formatting options=====
-These should be placed in //gsdl/etc/main.cfg//.+These should be placed in //greenstone2/etc/main.cfg//.
  
 Syntax: **SiteFormat <option-name> <option-value>** Syntax: **SiteFormat <option-name> <option-value>**
Line 13: Line 13:
  
 =====Collection-specific formatting options===== =====Collection-specific formatting options=====
-These should be placed in gsdl/collect/<collname>/etc/collect.cfg.+These should be placed in greenstone2/collect/<collname>/etc/collect.cfg.
  
 Syntax: **format <option-name> <option-value>** Syntax: **format <option-name> <option-value>**
Line 34: Line 34:
  
 =====Formatting Lists===== =====Formatting Lists=====
-The standard use of format statements is for the lists in search results, classifiers etc. Here is a list of the various lists available for format, and what they control. Note that classifiers are numbered from 1 upwards, in the order that they appear in the config file.+The standard use of format statements is for the lists in search results, classifiers etc. Here is a list of the various lists available for format, and what they control. Note that classifiers are numbered from 1 upwards, in the order that they appear in the config file. The value for all of these is a format string.
  
 ^Item^Description^ ^Item^Description^
Line 48: Line 48:
  
 =====Formatstring items===== =====Formatstring items=====
 +
 +Format strings (for lists, and document display) can contain html, plus the following special format items.
  
 ^Item^Description^ ^Item^Description^
en/user/gs2_format_statements.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1