tt_news
1.3.12. The Search
The tt_news search is a simple text-search that searches in a configurable list of fields (by default this fields will be searched: title, short (subheader), bodytext, author, keywords, links, and imagecaption). The default list of searchfields can be overwritten with the TS parameter "searchFieldList".
Example:
# this will configure tt_news to search only in the fields "title" and "short".
plugin.tt_news.searchFieldList = title,short
The fieldnames in "searchFieldList" will be validated before writing them to a database query.
The search can be configured to display its results on another page (see ->searchPid).
Note: The "SEARCH" element does not need a "LIST" element to display its results (if no "searchPid" is defined)
You can choose between displaying all items in the result list when opening the searchpage, or showing only the input form (see -> emptySearchAtStart)
If no global "Starting point" (pid_list) is configured the "Starting Point" of the news "SEARCH" element must point to the folder where your news records are stored.