Download & Extend

Possible to use HS for country select function?

Project:Hierarchical Select
Version:5.x-3.0-rc7
Component:Code - Content Taxonomy
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I am trying (and failing) to configure HS to do the following.

1. allow users to define their region through hs levels ie: Europe -> France -> Paris
-> UK ->London

2. create a view allowing users to search user nodes by region, where if a user defined his region as Paris his node(s) would be returned under views filtered by Europe, France and Paris - but NOT returned under UK, London, etc.

I'm using content_taxonomy fields and setting and save lineage settings in the hs widget.
So far I am only able to get results by specific region, ie a user in Paris will not show up in Europe or France.

Should this be possible with the hs module?

Comments

#1

The formatting was messed up on my previous post - UK was supposed to be appear beneath France to indicate a separate selection path.

#2

You sure could... but then you would have to have Europe -> US - > France -> Paris -> London all as taxonomy terms...

I would probably just have them use the location module... they would have to type it in.... but then you can have it geolocated and make a fancy map (w/ views 2 and gmail modules, I've only done this in D6 though.)

#3

Thanks, the location module looks promising.

I've worked out what I need to do to get HS module working the way I want; basically I need 'Save term lineage' checked in the content_taxonomy field hs widget section, but when I check this option it stops working. Only 'Save only the deepest term' option works - but then of course I lose the terms.

#4

I've had a look at the location module - but unfortunately it's not going to provide what I need. I want submitted nodes to be categorized by location using the hierarchical method I described above - so i guess it has to be hs module. On the demo module page the last example shows it can be done: http://wimleers.com/demo/hierarchical-select/taxonomy

I've spent days (and a night) trying to get the 'Save term lineage' setting to function but with no luck.

In fact i am at the point where I would like to pay someone to set this up for me.
If any one can help please let me know.

#5

The real issue here seems to be that the HS widget does not work with Content taxonomy fields, when 'Save term lineage' is selected. I don't know if this is a bug with HS or with Content taxonomy, or an incompatibility issue between the two.

#6

If anyone is interested in providing some paid support I've posted a request here: http://drupal.org/node/363560

#7

Version:5.x-2.0-rc3» 5.x-3.0-rc7

If somebody takes up this offer of paid support I will release any patch necessary to make these modules work together back to the community.

#8

Status:active» postponed (maintainer needs more info)

I've fixed several problems today. Please try again with the latest CVS code and let me know if the problem still exists.

#9

Closing while cleaning up the issue queue. Feel free to reopen.

#10

Status:postponed (maintainer needs more info)» closed (fixed)