2026 PHP Search View

Displays a view of the course search

Content Type Details

  • ID: 82853
  • Name: 2026 PHP Search View
  • Minimum user level: Contributor
  • Compatible with page layouts: All 2026 Layouts

This content type can be used for both the Course Search and News Search modules.

Course Search

View files are in the Media Library:

  •  Categorised >> Wits University 2026 Website >>  Site Assets >>  PHP Search >>  Course Search >>  views

    • pSearch-Home-WITS.php  media id: 3867856 - displays search-bar
    • PSearch-Main-WITS.php media id: 3867854 - displays search results 
    • PSearch-Sidebar-WITS.php media id: 3867855 - displays sidebar with facets

News Search

View files are in the Media Library:

  •  Categorised >> Wits University 2026 Website >>  Site Assets >>  PHP Search >>  News Search >>  views

    • NewsSearch-Home-WITS.php  media id: 3873183 - displays search-bar
    • NewsSearch-Main-WITS.php media id: 3873182 - displays search results 
    • NewsSearch-Sidebar-WITS.php media id: 3873184 - displays sidebar with facets

For adding content to the sidebar view, add content to child section 'Sidebar', ensure that the section name is exactly 'Sidebar'. Additionally, make sure the 'Show in Navigation' option for the 'Sidebar' section is unchecked:

For adding content the search-bar view (above the search results), add content to child section 'Search', ensure that the section name is exactly 'Search'. Additionally, make sure the 'Show in Navigation' option for the 'Search' section is unchecked:

Example

Content Type Elements Details

NameDescriptionSizeTypeRequiredConditionally Shown
NameThe Name element80 CharactersPlain TextYesNo
PHP Program Search Config LinkSpecify the section where the Program Search Configuration isN/ASection/Content LinkYesNo
Position in the pageSelect position in page for view to display

Choose from options: Default, Sidebar, Home, Compare Modal
N/ASelect Box
(List: 2026 - Course Search View Positions)
YesNo
ViewSelect the view file in the Media LibraryN/AMediaYesNo