Hello,
I got the solution.
I installed k2 search plugin. using this link you can download this plugin
giftcity.co.in/ashesh/plg_search_k2_svn_hacked.zip
and did some changes in k2.php file.
replace this code
if (count($rows)) {
foreach ($rows as $row) {
$new_row = array();
foreach ($row as $key=>$item) {
$item->browsernav = '';
if (searchHelper::checkNoHTML($item, $searchText, array('text', 'title', 'metakey', 'metadesc', 'section', 'cdescription', 'image_caption', 'image_credits', 'video_caption', 'video_credits', 'extra_fields_search'))) {
$new_row[] = $item;
}
}
$results = array_merge($results, (array) $new_row);
}
}
with this edited code
if (count($rows)) {
foreach ($rows as $row) {
$new_row = array();
foreach ($row as $key=>$item) {
$item->browsernav = '';
// if (searchHelper::checkNoHTML($item, $searchText, array('text', 'title', 'metakey', 'metadesc', 'section', 'cdescription', 'image_caption', 'image_credits', 'video_caption', 'video_credits', 'extra_fields_search'))) {
$new_row[] = $item;
// }
}
$results = array_merge($results, (array) $new_row);
}
}
nulele said:Hi,I'm using K2 2.2 with Joomfish! and have the same problem but without the warning.If I use K2 search module, I get blank page... even downgrading to K2 search plugin 2.1!!If I use the J! default search module searching for K2 items, it works weird: I get results only either if searched word is double-quoted in search field or Any words/Exact Phrase is checked in the search form.I think is totally a mess!! There are several threads in the forum and not yet a certain, valid solution to this problem.Anybody at K2 team can please give us a solution?Thank you