Closed (fixed)
Project:
Hierarchical Select
Version:
6.x-3.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
23 Oct 2009 at 18:34 UTC
Updated:
10 Nov 2009 at 11:20 UTC
Hi,
I've figured out how to use HS when selecting the taxonomy on a CCK node.
I'm wondering now, if it is possible to use HS fields on a search form.
One example, would be an event website, where you have many venues, many speakers, many cities, and many countries.
I looked at the http://standagainstpoverty.org website, and it is very similar to what I want to do.
Can you explain how they did the form for creating the events, and searches on that site?
Thanks in advance.
Comments
Comment #1
wim leersJust create a custom form or alter the search form and add a HS form item, along with the necessary logic in the submit callback. You need to know Forms API and look at API.txt to see how to configure a Hierarchical Select form item.
Comment #2
cookiesunshinex commentedOn the http://standagainstpoverty.org example, the search fields are in a block.
Was this done with a view with an exposed form? Or was it a simple form in a block?
Thanks for taking the time to respond.
Comment #3
wim leersProbably it's indeed a hook_block() implementation with a form in the block.
In the end, it's really just a form :)