Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Text search is a custom feature that can be made available on EFS Panel installations with EFS 9.1 or higher. It requires special programming. Furthermore, the Panel installation must meet special system requirements.

If you are interested in using custom text search, please get in touch with your QuestBack contact.

Text search enables panelists to search the panel news and community-generated content. The functional scope in brief:

  • Text search covers the content of news, blogs, forums, discussions and download lists. Optionally, you can restrict the scope to any of these content types.
  • The search syntax is familiar from web search tools. I.e. panelists can use the commands intuitively.
  • Optionally, you can allow the panelists to select the content types to be searched.
  • If only one content type is searched, all results will be displayed in a paginated list. If several content types are searched, the most relevant results will be displayed in a summary. Via dedicated links, the panel members can access paginated lists of all results.
  • The results lists are automatically restricted to content which the searching panelist is authorized to see.
  • The search function is integrated into the website editor.

Work steps

Setting up content search involves the following steps:

  • Defining the scope of the search feature and the length of the results lists for the entire panel installation.
  • Setting up a search page with search form and results list.
  • Creating a search form and inserting it into the panelists’ side-bar navigation on the desired page(s).


Please make sure that both the search page and the pages with the content to-besearched are shown in the navigation for anybody who’s allowed to access them.

Search stringResult
peaceResult which contains: peace OR Peace OR PEACE
peace*Result which contains: peace OR peacemaker
+peace +warResult which contains: peace AND war
+peace -warResult which contains: peace AND doesn‘t contain: war
peace agreementResult which contains: peace agreement OR agreement of peace
„peace agreement“Result which contains exactly: peace agreement

Words with three or less letters are ignored.

A list of common words is ignored. For details, please check out:

http://dev.mysql.com/doc/refman/5.1/en/fulltext--? stopwords.html

Integrating Text Search into the Website

To set up a search page, please proceed as follows:

  1. On the desired page, create a page module of the “Search for text in modules” type.
  2. Configure the setting options as required.
    – Select the “func_search” module template. You may have to adapt the templates to the layout of your panel.
    – Keep the “Template for media display” field empty.
    – The other options are the same as the options in the menu Global configuration, but specific to this module and restricted to the maximum scope you defined in Global configuration.

To create a search form for the side-bar navigation, please proceed as follows:

  1. On the „GLOBAL“ page dedicated to referenced content, create a page module of the “Form for text search in modules” type.
  2. Configure the setting options as required.
    – Select the “func_searchform” module template. You may have to adapt the templates to the layout of your panel.
    – Keep the “Template for media presentation” field empty.
    – In the “Display results using” drop-down list, select the search page created in the previous chapter.
  3. Reference the GLOBAL module from all pages on which the side-bar navigation is used, as e.g. “My home”.


Topics

  • No labels