A SERVICE OF

logo

Appendix B, Gateway Directives Reference 99
Entry-Related Directives
Arguments
prefix=text. HTML text to emit before view elements (optional)
suffix=text. HTML text to emit after view elements (optional)
curprefix=text. HTML text to emit before the link to the current (active) view
element (optional)
cursuffix=text. HTML text to emit after the link to the current view element
(optional)
altprefix=text. HTML text to emit before each link to an alternative view
element (optional)
altsuffix=text. HTML text to emit after each link to an alternative view element
(optional)
Example
<!-- DS_VIEW_SWITCHER -->
DS_SORTENTRIES
Description
Specifies that entries should be sorted; typically used within list templates. This
directive must appear within a DS_ENTRYBEGIN...DS_ENTRY_END block. Up
to two DS_SORTENTRIES directives are honored (the attribute from the first
one that appears is used as the primary sort key and the second one is used as
a secondary sort key).
Arguments
attr=attrname. Sort the entries in ascending order by attrname.
Example
To sort a list of entries by common name:
<!-- DS_SORTENTRIES "attr=cn" -->