Alternate Languages Forms, files and functions Library-customizable pages and forms Optional pages vs default formsPrint this Page
Optional pages vs default forms
Optional pages are pages that can be used to replace the system generated forms that exist in many places in the WebPAC. Most libraries prefer to create their own versions of these forms. The example set contains customized versions of many forms.

If there is a customized form for a specific function the system will use that instead of the system generated default form. For example, command link /suggest uses the Suggestions Form , suggest_web.html. Correspondingly /suggest*spi uses suggest_web_spi.html.

If there is no customized form with the [lang] extension the system will use the English equivalent. If the English form is used any straightforward HTML will display in English, while system generated text or buttons (generated by tokens, Web Options or hardcoded behavior) will be in the other language, provided options and buttons exist for that language.

If the English form does not exist either, the system will display the default form in the alternate language. Translations for default forms are kept in the general translation file and should appear in the correct language without any specific action from your side.

Some parts of a default form may be controlled by other settings:

  • Forms with patron verification prompts use information from OPAC option . Prompts and examples must be translated.

    TIP: In order to add translations, log in to the character based system with a login assigned to the language in question, or change language from the main menu.

  • Another example is the standard buttons that are used across all pages, for example:

  • You will also have the and on all pages, regardless of what type of form you are using.
To see an example of the use of an optional form vs the default, refer to .

Command link /ftlist is a special case. This command link gives access to the Featured Lists function. There is no corresponding customizable form you can use. Like other command links it can vary by language by adding *[lang], e.g. /ftlist*ita for the Italian version of Featured Lists. Some text is defined in Web Option FEATURED_LIST that needs to be customized for the language.