4images Modifications / Modifikationen > Tutorials
[Tutorial] Making additional field searchable
Dmitro:
Dear Jan,
Thanks a lot for your quick reply!
I am not yet using 1.7 - I am still checking how much work I have to do in order to upgrade.
Dmitry
Jan:
Search for
--- Code: ---if ($word != "" && strlen($word) > 2 && strlen($word) < 26 && !in_array($word, $stopword_list)) {
--- End code ---
in "includes/search_utils.php" and
--- Code: ---elseif ($split_words[$i] != "" && strlen($split_words[$i]) > 2 && strlen($split_words[$i]) < 26 && !in_array($split_words[$i], $stopword_list)) {
--- End code ---
in "search.php" and change "2" to "1".
Jan
Dmitro:
Jan, you are a magician.
Thanks. Dmitry :D
k4nth:
is it possible to include Categories names in search?
Jan:
No.
Jan
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version