Hi Ruud,
I am trying to make searchbox with suggestions, which will match characters from search_convert.php (I have a list of chars like: $t["š"] = array("š", "s"); and it is working ok )
I found the code in news_search:
$search_sql1 = search_make_sql_part($search_url_array, $match, array('`title`','`content_short`','`content_long`'));
And put it into my search function:
$query = $database->query("SELECT post_id, group_id, link, title FROM `".TABLE_PREFIX."mod_news_posts` WHERE $search_sql1 ");
but it is not working. What is also confusing me is that I found this code inside wysiwyg_search function:
$search_sql = search_make_sql_part($func_search_url_array, $func_search_match, array('`content`'));
but $search_sql is not called in SQL query from wysiwyg_search function...??
could you please point me in right direction ?
cheers,
Ivan