en:user:gs2_format_statements
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
en:user:gs2_format_statements [2016/05/12 00:11] – kjdon | en:user:gs2_format_statements [2016/05/12 00:17] – [Conditional expressions in formatstrings] 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/ | + | These should be placed in //greenstone2/ |
Syntax: **SiteFormat < | Syntax: **SiteFormat < | ||
Line 13: | Line 13: | ||
=====Collection-specific formatting options===== | =====Collection-specific formatting options===== | ||
- | These should be placed in gsdl/ | + | These should be placed in // |
Syntax: **format < | Syntax: **format < | ||
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^ | ||
Line 122: | Line 124: | ||
|ew| |ends with| | |ew| |ends with| | ||
- | //Note that only eq and ne are available for Greenstone versions 2.60 and earlier.// | ||
en/user/gs2_format_statements.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1