First post in this module forum, so, thanks to the creators and supporters ;)
I've had it installed for a while for testing purposes and it seems to work very well. Now I would like to integrate it a little bit more into my site than just having a block for it and, basically, I don't know how:
1. Put it directly into the theme
With standard drupal search you simply need to put this little php:
print $search_box;
What should be added to the theme to hardcode Fuzzy Search into the theme? (beside module installation verification).
2. Being able to fast and easy switch to other search engines
Other search modules like Google Custom Search Engine allows you to set it as default and also put it in a tab (if you want) in your standard search page. This allow users to select the search engine they want to use. Custom filters are very handy in standard drupal search, for example.
I haven't seen this functionality in your module, it seems to have its own search page and you can't select wich search engine you want to use. I could modify your search page template to put a link to standard search engine but I would like to know if there is an easier way.
Regards and thanks in advance.
Comments
Comment #1
awolfey commentedHi, sorry for the late reply.
1. You can
<?php print drupal_get_form('fuzzysearch_box_form'); ?>or you can do some thing like $variables['fuzzysearch_box'] = drupal_get_form('fuzzysearch_box_form'); in template_preprocess_page(). Then<?php print $fuzzysearch_box; ?>in your page.tpl.php.2. This is an interesting request, but I'm going to postpone it. It's really a separate issue, so please create another as a feature request. Thanks.
Comment #3
NoRandom commentedAnd, also, sorry for my late reply.
Thanks a lot, I haven't tried it yet but I'll post any difficulty doing it.