Related Searches Form

Command link:     None
HTML document:  relsearch.html

This form controls the appearance of the pop-up window generated by the WebPAC when users click the "more" link in the "Related Searches" message defined by the RELSEARCH Web option.

Your organization must have authority records indexed for advanced searches to use this custom form.

This form uses the following tokens:

<!--{ret2cat}--> The value of the BUT_RET2CAT Web option replaces this token.
<!--{closewindow}--> The value of the BUT_CLOSEWN Web option replaces this token.
<!--{relsearchtext}--> The value of the second field of the RELSEARCH Web option replaces this token. The display includes any HTML formatting defined in the option.
<!--{ifsubj}--> Sets the formatting block for subject searches.
<!--{relsearchsubj}--> The de-duplicated and alphabetized list of index headings for the subject index group replaces this token.
<!--{else}--> If used, this token defines a message to display if there are no search results for the specified index. The message text follows the <!--{else}--> token.
<!--{xif}--> Closes the <!--{ifsubj}--> block.
<!--{ifauth}--> Sets the formatting block for author searches.
<!--{relsearchauth}--> The de-duplicated and alphabetized list of index headings for the author index group replaces this token.
<!--{else}--> If used, this token defines a message to display if there are no search results for the specified index. The message text follows the <!--{else}--> token.
<!--{xif}--> Closes the <!--{ifauth}--> block.
<!--{iftitle}--> Sets the formatting block for title searches.
<!--{relsearchtitle}--> The de-duplicated and alphabetized list of index headings for the title index group replaces this token.
<!--{else}--> If used, this token defines a message to display if there are no search results for the specified index. The message text follows the <!--{else}--> token.
<!--{xif}--> Closes the <!--{iftitle}--> block.

You can create separate custom forms for each combination of language, scope, and patron type by using the following naming convention:

relsearch_LANG_s#_p#.html

LANG The language code (spi for Spanish, frc for French, etc.).
s# The number of the scope (s1, s2, s3, etc.).
p# The patron type or PTYPE (p0 or p243, etc.).

For a current example of this form, see the appropriate example set in WebPAC Example Sets and Photoshop Files on CSDirect.