Encance Tiki search results with tiki pardes output: *tiki/lib/search/searchlib.php around line 749: **in "function find_exact_wiki" ***Replace: ++$cant; ***With: $page=$res["page"]; ++$cant; $datanew=$this->PowerResult($res["data"],$words); ***Replace: ++$cant; $ret[] = array( 'pageName' => $res["page"], 'location' => tra("Wiki"), 'data' => substr($res["data"],0,250), 'hits' => $res["hits"], 'lastModif' => $res["lastModif"], 'href' => $href, 'relevance' => $res["count"] ); ***With: $ret[] = array( 'pageName' => $res["page"], 'location' => tra("Wiki"), 'data' => $datanew, 'hits' => $res["hits"], 'lastModif' => $res["lastModif"], 'href' => $href, 'relevance' => $res["count"] ); **After "function find_exact_wiki" around line 784: ***add: function PowerResult ($datanew1, $words) { $pagelines = split("\n", $datanew1); $datanew='
Line: '. $linenum . ' | ' . $this->parse_data($before.$pageline.$after,false).' |