Installation guide

Table Of Contents
Entry-Related Directives
Appendix B Gateway Directives 115
DS_SORTENTRIES
Specifies that entries should be sorted; typically used within list templates. This directive
must appear within a
DS_ENTRYBEGIN...DS_ENTRYEND 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" -->
DS_SEARCHDESC
Specifies that text describing the type of search done should be displayed. For example,
“Found 14 entries where the phone number ends with '25.'
Arguments
None.
DS_POSTEDVALUE
Echoes the contents of an arbitrary posted form variable within a VALUE= parameter.
Arguments
name=varname. The name of the form variable.
Example
If a variable called searchstring is posted and contains the text John Doe, the directive
<!-- DS_POSTED_VALUE "name=searchstring" -->
will produce the following
HTML: VALUE="John Doe"