Closed (won't fix)
Project:
Hierarchical Select
Version:
5.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
4 Sep 2007 at 13:55 UTC
Updated:
22 Apr 2009 at 06:48 UTC
I am guessing this will support country-state-city selection. It would be great if there is some sample country-state database is available to work with this.
Comments
Comment #1
wim leersAnother module could easily hook into this. You could even simply create a taxonomy that represents such a structure. This module is not designed for providing specific solution, but for being used by specific solutions.
Comment #2
nandou commentedDo this tax:
Country1
--State1.1
---City1.1.1
---City1.1.2
---City (...)
--State1.2
---City1.2.1
---City1.2.2
---City (...)
Country2
--State2.1
---City2.1.1
---City2.1.2
(...)
Then add use content.taxonomy, use taxonomy select widget as a cck field, select this vocabulary et voila.
You should probably label the cck field as "Select Country, State and City" as there is no way to label individual dropdowns.
Hope it helps. (It did it for me !)
Btw: Be SHURE you have the latest version: There was a bug corrected a few hours ago.
Comment #3
wim leersExactly. Thanks for the example, nandou. Perhaps you could write a handbook page about it? :) ;)
Comment #4
netbear commentedI also have activated this module, activated the required update module, moved the jquery.js misc as indicated in the read me file.
1) in node form it selects some terms by default, but when i submit it terms of taxonomy are not asigned to node, but when i select another term node gets it.
2) when using it in VIEWS if i use filter type and select any term it always find no nodes, though i know there are nodes of this term.
Great module, thanks.
Comment #5
wim leersReproduced problem #1. Please create a separate issue for that. Should not be too difficult to fix.
Your second problem however, I cannot reproduce. But perhaps it's the sam eproblem as #1?
Comment #6
wim leersSee http://drupal.org/node/173538 for #1: it's fixed already.
Comment #7
netbear commentedThanks, it works now!
Have no more problem. This made me jumping up from my chair to ceiling! Absolutely brilliant module, many people were waiting for it.
Comment #8
wim leersExcellent! :)
Restored title and status.
Please start a new issue for your own problems next time ;) :)
Comment #9
Kerel commentedHi,
I did not find another topic that handles this so I put my question here under this old topic.
I would like to do something similar like country-state-city but for the whole world.
Is it wise to use Taxonomy?
Because it is a lot of work to put al the countries-states-cities of the world manually in a Taxonomy.
So I would like to ask, can I do this faster by importing some data into the database or something similar? And those this module support these manually created tables/columns?
I hope my question is clear enough...
Thanks in advance!
Comment #10
liquixis commented(sorry for my english)
You can find database with data needed for you and import it into term tables by script.
Example of import script you can find at: http://drupal.ru/node/23269 (In russian), direct link for base in russian and import script: http://drupal.ru/files/base_1.zip
Also you can see: http://drupal.ru/node/25340 (In russian)
Use http://translate.google.com
P.S. now i'm writing HS implementation wich work with table (with struct [id, parent_id, title, weight, ...]) direct, without need to use taxonomy.
May be I will put it as HS issue...
P.P.S there are many geo databases in the internet.
Comment #11
Turkish Delight commentedIs there any way to incorporate the location module into this module? So when I would enter in location information (country, state, city) the taxonomy that I have set up for it would automatically incorporate that information.
Example for taxonomy Restaurant Type:
United States >> Colorado >> Denver >> (taxonomy entered regularly) Fast Food >> Hamburgers >> Restaurant Title
I figure something like this especially being incorporated into views would be extremely helpful.
Honestly I'd like to see the D6 port first, but I figure I should put the idea out there for later. Thank you for all of your hard work!
Comment #12
Kerel commentedHi overall,
thank you for the answer. There are some modules that help you import Taxonomy terms.
The ones I found: Taxonomy CSV Import and Taxonomy XML import. So I think I will do it this way because it is somewhat easier and I do not understand Russian :).