====== SEARCH_RESULT_FULLPAGE ====== ---- dataentry event ---- Description: Adjust how a fullpage search result is displayed Preventable: No Added_dt: 2018-04-05 ---- This event is signalled by [[xref>getFulltextResultsHTML()]] in [[xref>inc/Ui/Search.php]] for every fulltext search result, that is displayed. Handlers can use the ''BEFORE'' event to add more information to the result remove existing elements. The ''AFTER'' event is not called. ===== Passed Data ===== * ''$data['resultHeader']'' => Array of strings which will be concatenated and inserted between the ''
'' tags of a search result, forming its header. * ''$data['resultBody']'' => Associative array of strings which will be concatenated, wrapped in ''
'' tags (with the array key as class) and inserted after the above mentioned ''
'' tags, forming the search result's body. * Initially there will be the key ''meta'' with the last modified data and (optionally) the number of hits and for the first 15 results there will be the ''snippet'' key with the snippet * ''$data['page']'' => ID of the page * ''$data['position']'' => Position of the search result ===== See also ===== * [[codesearch>SEARCH_RESULT_FULLPAGE|Code related to this event]] used in any DokuWiki's files, plugins and templates * [[devel:Action Plugins]] * [[devel:Events]] * [[SEARCH_RESULT_PAGELOOKUP]] * [[SEARCH_QUERY_FULLPAGE]]