Search Module defaults all searches to exact - Joomla! Forum - community, help and support


ok here goes situation, company hired modifications our joomla based website , managed install , uninstall several modules on our publicised website test purposes fatal error . problem ? search engine default searches "exact" no matter selection (parameter "searchphrase" in url show any/all/exact yet search still show exact phrase only).
i managed re-upload mod_search files fresh joomla insallation didnt help. managed operate same .
could setting value have changed in database ?
could function rewritten melicious code execution ?
so if know how trouble shoot situation highly appreciated.
http://www.bconnectegypt.com

never mind , dont think ppl r ins , out of joomla , control panel , settings :/

interesting catch!

on attempts solve problem seems select statment searching contacts found in /plugins/search/contacts.php.

what interesting default joomla not parse neither "any" nore "all" search phrases , matter of fact default joomla installation leaves both search cases empty of code!

so seems previous developer our website managed produce code handel such glitch (or maybe working in previous installation, knows) .

so anyways produced simple code quick work around untill write full functions covering both "all" , "any" cases (knowing havent coded in php in long time) that's supposed replace space of search string % broad search result consecutive words in sentence rather "exact" phrase , here goes :

$text = str_replace(" ", "%", $text);

feel free communicate me here





Comments

Popular posts from this blog

CS5 Adobe Media Encoder: Encode failed because the source duration is nil.

cf_sql_integer vs cf_sql_bigint vs cf_sql_int??

localhost/joomla15/administrator doesnt work - Joomla! Forum - community, help and support