DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:event:search_result_pagelookup

SEARCH_RESULT_PAGELOOKUP

Description:
Adjust how pagename match is displayed after search
Preventable:
No
Added:
2018-04-05

This event is signalled by getPageLookupHTML() in inc/Ui/Search.php for every matched pagename that is to be displayed as a search result. Handlers can use it to add information to that result.

Passed Data

  • $data['page'] ⇒ the pageid of the result
  • $data['listItemContent'] ⇒ an Array of strings which will be concatenated and displayed as the content between the <li></li> tags in the respective section.

See also

devel/event/search_result_pagelookup.txt · Last modified: 2018-12-08 16:04 by torpedo

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki