Difference between revisions of "Search Feature"

From GGBN Portal Software
Jump to: navigation, search
(Created page with "=Search Form= * 2 main controllers: Search & WebsiteSearch ** Local WebsitesearchController extends CommonWebsitesearchController ** Local SearchController ==views/search/se...")
 
(Retrieved from Common folder)
 
Line 14: Line 14:
 
==Retrieved from Common folder==
 
==Retrieved from Common folder==
 
* views/search/mapSearch.php
 
* views/search/mapSearch.php
 +
* views/search/searchFieldSelection.php

Latest revision as of 08:46, 30 August 2016

Search Form

  • 2 main controllers: Search & WebsiteSearch
    • Local WebsitesearchController extends CommonWebsitesearchController
    • Local SearchController

views/search/search.php

Contains some of the display specifications

  • website search tabs (e.g. GGBN) can be switched on/off in config/params.php
  • full code identical for WFO and GGBN; can be customized, but for updates this script should be kept generic

models/SearchForm.php

  • extends CommonSearchForm, but contains a lot of customized styling (e.g. labels of all form fields)

Retrieved from Common folder

  • views/search/mapSearch.php
  • views/search/searchFieldSelection.php