Adding Indexes to the Collections Drop-down Menu

How to:

You can make Magnify index libraries available from the collections drop-down menu on the Magnify search page. This allows users to focus their search to a particular set of search content.

To add the collections to the Magnify search page drop-down menu, you must edit the following variables in the Magnify style sheet (<locale>_stylesheet.xslt):


Top of page

x
Procedure: How to Add Indexes to the Collections Drop-down Menu
  1. Navigate to the Magnify configuration folder for your locale. The folder for English is en.
    \ibi\WebFOCUS81\config\magnify\locale
  2. Open the locale_stylesheet.xslt file (en_stylesheet.xslt) in a text editor, such as Notepad.
  3. Locate the collections_descriptions variable.
    <xsl:variable name="collections_descriptions">
  4. Enter names for your collection in the <xsl:otherwise> element. The syntax is:
    <xsl:otherwise>Default Collection,My First Collection,My Second Collection,</xsl:otherwise>

    For example:

    <xsl:otherwise>Default Collection,Cars,Movies,</xsl:otherwise>

    Note: Collection names must be separated with a comma, and the element must end with a comma.

  5. Locate the collections_values variable.
    <xsl:variable name="collections_values">
  6. Enter the folder where your indexes reside in the <xsl:otherwise> element. The syntax is:
    <xsl:otherwise>default_collection,myfolder1,myfolder2,</xsl:otherwise>

    For example:

    <xsl:otherwise>default_collection,cars,movies,</xsl:otherwise>

    Note: Folder names are case-sensitive, must be separated with a comma, and the element must end with a comma.

  7. Save and close the style sheet file.

Note:


WebFOCUS