DokuWiki

It's better when it's simple

User Tools

Site Tools


Sidebar

Translations of this page?:

Learn about DokuWiki

Advanced Use

Corporate Use

Our Community


Follow us on Facebook, Twitter and other social networks.

Our Privacy Policy

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