$thisText = isset($thisText) ? $thisText : 'defalult for this text'; $thatText = isset($thatText) ? $thatText : 'default for that text';
$lang = isset($lang) ? $lang : 'default_lang'; include $path .'/lang/'.$lang.'.php'; $thisText = $ajaxsearchLang['thisText']; $thatText = $ajaxsearchLang['thatText'];
Thanks for it
TinyMCE replace the accent with the html entity... So, when you put the word "Genève" on a page, it is recorded as "Genève" in the database and AjaxSearch can’t find "Genève"... A big problem for french sites. Is it a solution?
It seems that Ajax Search doesn’t search into summary doc. Is it possible to add this possibility (with a parameter or changing the code ) ?

$sql = "SELECT DISTINCT sc.id, sc.pagetitle, sc.description, sc.content ";
$sql = "SELECT DISTINCT sc.id, sc.pagetitle, sc.description, sc.introtext, sc.content ";
$sql .= "(sc.pagetitle LIKE '%$searchString%' OR sc.description LIKE '%$searchString%' OR sc.content LIKE '%$searchTerm%') AND ";
$sql .= "(sc.pagetitle LIKE '%$searchString%' OR sc.introtext LIKE '%$searchString%' OR sc.description LIKE '%$searchString%' OR sc.content LIKE '%$searchTerm%') AND ";
$sql .= "(sc.pagetitle LIKE '%$searchString%' OR sc.description LIKE '%$searchString%' OR sc.content LIKE '%$searchString%') AND ";
$sql .= "(sc.pagetitle LIKE '%$searchString%' OR sc.introtext LIKE '%$searchString%' OR sc.description LIKE '%$searchString%' OR sc.content LIKE '%$searchString%') AND ";
$sql = "SELECT DISTINCT sc.id, sc.pagetitle, sc.description, sc.content ";
$sql = "SELECT DISTINCT sc.id, sc.pagetitle, sc.description, sc.introtext, sc.content ";
TinyMCE replace the accent with the html entity... So, when you put the word "Genève" on a page, it is recorded as "Genève" in the database and AjaxSearch can’t find "Genève"... A big problem for french sites. Is it a solution?
).
This discussion is closed to further replies. Keep calm and carry on.