+

Search Tips   |   Advanced Search


Defining menu element formatting options

Define how search results will be displayed for the menu element.

This includes defining the sort order for results, paging options for menu elements with multiple pages of results, and formatting options controlling how the menu is rendered.

  1. Specify how the search results displayed in the menu element should be sorted.

    1. Select the sort order for the results.

      • Ascending: Sorts results in ascending order.

      • Descending: Sorts results in descending order.

    2. Select the content item fields on which you want to base the sort ordering. You can select a primary field and two additional fields to provide more fine-grained sorting of the results. The sort fields are applied in order, so that results are sorted first by the primary field, then by the secondary field, and finally by the tertiary field.

  2. Specify paging options for the menu element.

    1. Enter the number of items that are displayed in each menu page.

    2. Enter the number of the start page for displaying search results in the menu.

    3. Enter the maximum number of results pages to be included in the menu.

    4. Enter the number of results pages to read ahead when using a page navigation element.

      For example, if you enter 3, the page navigation element will calculate results up to 3 pages ahead of the current page. Increasing this number will improve the accuracy of the page navigation element. Lowering this number will improve the performance of the page navigation element when rendered.

    To display multiple menu pages, use a page navigation element. This is referenced within the header or footer of the menu design specified below.

    Changes to paging options will not be visible to users until the session cache has expired, or a user starts a new session.

  3. Specify the formatting options used to display the menu element. Enter text, tags and code into the menu design fields as required.

    • The text entered in the Header and Footer designs will appear before and after the displayed menu results. When entering design tagging for menu elements with multiple pages of search results, you can reference a page navigation element in the header or footer to provide the user with a way of navigating through the menu pages.

    • The text entered into the Component Design for each matching content field defines the format of each menu result.

    • The text entered into the Separator field will appear between each displayed menu result.


Parent topic:

Creating a menu component