search for <term> gave approximately 0 results:

Post

Posted
Rating:
#1214 (In Topic #301)

setting default search options

Hi,
In the default menu bar ( ie same place as the menu_management bar)  there is a search facility, but always returns 0 results.

once the Zero results shows, then search results settings displays, and you include Pages, then the system correctly returns the search term.

Where can I set the default search options to include "Pages" or other options

Thanks
Chris

Last edit: by Chris Graham

Post

Posted
Rating:
#1215
Hi,

Currently to change this you need to manually edit sources/hooks/modules/search/comcode_pages.php to change $info['default'] = false; to $info['default'] = true;, or you need to do some template editing to change the parameters passed to the search block (a bit harder).

I think we've added options for the next major version for it.
0 guests and 0 members have recently viewed this.