create views_fastsearch block?

scottrigby - July 4, 2008 - 03:38
Project:Views Fast Search
Version:5.x-2.0
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi –
I hope what I'm trying to do is possible with views fast search, because it's a great module...

What I want to do is expose filters in a search form, like from this lullabot tutorial: http://www.lullabot.com/articles/custom_search_forms_views_and_fastsearch

But the difference is, I want to add this search form in a block, like the standard core search block (which can be added to the sidebar, header, etc).

I already commented on an existing issue here: http://drupal.org/node/189531#comment-907501
Because a particular solution proposed to that issue (redirecting standard search form to views_fastsearch page) did not work for me.

But it seems my request goes beyond that issue (and maybe is not necessarily related as I thought) so I'm opening a new issue, for adding a views_fastsearch form in a block.

Is this possible? Even a recommendation on adding custom php code to a new block would be a great workaround...

Thanks in advance for your help with this – it would make a huge difference!
:) Scott

#1

Rhino - August 11, 2008 - 09:18

subscribing - I'm very interested in doing the same thing and hit the exact same wall as you.

#2

Rhino - August 11, 2008 - 09:25

I just saw this one as well;

Display Search Box on front page.
http://drupal.org/node/245318

Here Allie Micka suggests overriding the standard search block form. Worth a shot.
http://drupal.org/node/245318#comment-812806

#3

scottrigby - August 11, 2008 - 11:31

hi Rhino,
I'm off the case of the particular project I needed that for... however if you get this working it'd still be nice to know it's possible - then at least we can close the issue ;) Good luck!
:) Scott

#4

adminfor@inforo... - September 17, 2008 - 21:09

This contribution ( http://drupal.org/node/245318#comment-1007550 ) using a simple block php snippet works great

 
 

Drupal is a registered trademark of Dries Buytaert.