News Search Configuration

Used to configure the News Search

How to use

  • Add a Publish to One File navigation object for the JSON Source 
  • Select the Terminalfour PHP Search Module PHAR file from the Media Library (this has been uploaded to folder Categorised > mdx.ac.uk > Site Assets > T4 Modules > PHP Search) media ID: 11409
  • Enter a number for Max Results per Page, this controls how many News Articles are shown per page in the search results

The News Search Configuration has no visible output on the page. Results are displayed using the PHP Search View content type, and the Masthead is displayed using the News Search Masthead content type.

Content Type Details

ID: 478
Name: News Search Configuration
Description: Content to configure the News Search.
Minimum user level: Administrator

Content Type Elements Details

NameDescriptionSizeTypeRequired
NameThe Name element80 CharactersPlain TextYes
JSON SourceAdd the navigation asset for the news article JSON80 CharactersPlain TextYes
PHP Search LibraryChoose PHP Main Library PHAR fileN/AMediaYes
Max Results per PageNumber out results to output before paginationN/AWhole NumberYes

Example

See News Search.