My Favorite Databases Group Names Form
Command link: None
HTML document: mffavs.html
This form controls the display of the My Favorite Databases group naming form in the WebPAC. This form accepts the following tokens:
Token | Description |
---|---|
<!--{toplogo}--> | The system replaces this token with the <html> and <body> tags that begin an HTML page and the value of the TOPLOGO Web option. Inserts a link to the stylesheet defined in the STYLESHEET Web option. This must be the first line in the form. |
<!--{logout}--> | The system replaces this token with the value of the BUT_PLOGOUT Web option if the patron is logged into My Account. |
<!--{patron}--> | The system replaces this token with the "You are logged in as [Patron Name]" banner if the patron is logged into My Account. |
<!--{return}--> | The system replaces this token with the value of the BUT_RET2PREC Web option if the patron is logged into My Account. |
<!--{formbegin}--> | The system replaces this token with by the appropriate HTML for opening this form. This token is required. |
<!--{iferr}--> | If there is an error or if My Favorite Databases is not set to function for the user, the system displays any text or markup set between this token and its closing <!--{xif}--> token. |
<!--{err_msg}--> | The system replaces this token with the text of an error message encountered during the process of saving the group or a message notifying the user that the My Favorite Databases feature is not available. |
<!--{xif}--> | Closes the <!--{iferr}--> block. |
<!--{ifconfirm}--> | If the user successfully saved a group, the system displays any text or markup between this token and its closing <!--{xif}--> token. |
<!--{confirmmessage}--> | The system replaces this token with the system-generated confirmation message when a user saves a group. |
<!--{xif}--> | Closes the <!--{ifconfirm}--> block. |
<!--{ifgroupname}--> | If the user has not successfully saved a group, the system displays any text or markup between this token and its closing <!--{xif}--> token. |
<!--{groupname}--> | The system replaces this token with the text entry form field for the user to enter a name for the database grouping. |
<!--{xif}--> | Closes the <!--{ifgroupname}--> block. |
<!--{submit}--> | The system replaces this token with the value of the ICON_SUBMIT Web option. |
<!--{cancel}--> | The system replaces this token with the value of the ICON_CANCEL Web option. Clicking this link returns the patron to the Research Pro display. |
<!--{formend}--> | The system replaces this token with the appropriate HTML for closing this form. |
<!--{botlogo}--> | The system replaces this token with the value of the BOTLOGO Web option. Does not insert the </BODY> and </HTML> tags that finish an HTML page. |
You can create separate custom forms for each combination of language, scope, and patron type by using the following naming convention:
mffavs_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.