I can use hierarchical select module but it contains lot of manual work in entering data. I want for all countries their city list. How to do it ?
Is there any module which helps to show city list based on a country selection? Is there a custom way to do it? thanks in advance
You can use the Address Field module. To do just the country and city, you will have to define a plugin. Look in the
addressfield/plugins/format directory for examples.
To add the cities, you will have to define a list of cities for each country in the plugin. You can then format the list and add it to your plugin and you should be good to go.
One advantage of using the Address Field module is that if you do not define a list of cities for a country, users will still be able to input the city themselves.
Taxonomy CSV import/export allows you to import or export taxonomy from or to a CSV (comma-separated values) file or with a copy-and-paste text.
It helps you to quick import a non-standardized vocabulary, for example an old thesaurus, a hierarchical taxonomy or a simple list of children, synonyms, descriptions, weights or related terms to terms.
xe2x80xa2 import common field types.
xe2x80xa2 import repeatable fields.
xe2x80xa2 import a hierarchical (tree) or a polyhierarchical vocabulary.
xe2x80xa2 import translations.
xe2x80xa2 import your hierarchical tree structure and your fields simultaneously (7.x-5.11-dev).
xe2x80xa2 export names, fields, tree, translations... to a csv file.