Hello, I'm using this great module to create a state/city field to tag nodes (articles in this case). Is there a way to allow users to select a state and then more than one city?
thanks...
Hello, I'm using this great module to create a state/city field to tag nodes (articles in this case). Is there a way to allow users to select a state and then more than one city?
thanks...
Comments
Comment #1
rconstantine commentedNot as designed, and I'm not likely to add the feature. However, you could modify the module yourself or hire me to do it. Would you only be using the two fields you specified? Would you allow users to type in cities, or select from an existing set? I need more details to answer your question.
Comment #2
cgjohnson commentedIdeally, it would be great to have users select multiple cities in multiple states for a node/piece of content. Not sure how it would look, but it would need to allow multiple states and cities, with free tagging for cities (but selection from existing set for states)... does that help?
Comment #3
rconstantine commentedIn that case, you don't really want addresses at all, just a regular hierarchical taxonomy. Try my CCK Taxonomy Super Select Ultra module instead. It has a nice, collapsible interface and is the only taxonomy module I know of that allows hierarchical freetagging along with checkboxing existing content.
Comment #4
cgjohnson commentedGood rec. I went with Tax. Super Select (not ultra, though that's great too) and it seems to be doing the trick. I had to use two separate vocabs, but that's not a problem. Thanks.
Comment #5
cgjohnson commentedQuick follow up to this -- does SSUltra allow multiple select PLUS freetagging in a way that's different than TSS (super select)?
Right now with TSS, to make a fixed state field with a select list and free tagging for the city, I have to make each a separate vocabulary.
I tried SSU and it does a good job in a single vocab, but I can't figure out how to set it up so users can add a new city, select a parent state (but not another city as parent) -- is this possible?
hope that makes sense... thanks.
Comment #6
rconstantine commentedCurrently, no. What it sounds like you are asking for is a 'restrict branching' feature; users can free tag to existing branches only, and not branch off existing siblings. In that case, the top of your vocab would be the states, each would be a branch, and free tags could be attached to any of them. Cities would lie under each state branch and would not be allowed to have free tags connected to them. Is that right? This sounds like an interesting feature request. Feel free to post it over at the CCKTSSU issue queue. I plan on updating that module soon. As an admin, you would still be able to modify/add/edit/delete branches via the standard Drupal 'categories' menu item.
Anyway, this seems like it would be an easy modification for CCKTSSU. If you can code, feel free to roll a patch if you need it sooner than I get to it.
Comment #7
cgjohnson commentedThat's it, exactly. Wish I could code a patch like this, but no can code -- I'll add it to the CCKTSSU issue request page. thanks, rconstantine!
Comment #8
wim leersYou may want to try my Hierarchical Select module for this, which has multiple select support in version 2. It has an API, so you could simply code a new CCK widget that uses it. See the modules/taxonomy.inc file for an example implementation.
Comment #9
cgjohnson commentedThanks Wim, I'll check this out. I played with the earlier version and liked it a lot; glad to see multiple select is now available!
Does it allow free tagging at the sub-category level?
Also, at the risk of sounding like an ignoramus, I can't figure out how to turn this on. I enabled, hard refreshed -- and while I can see the hierarchical select section of the taxonomy vocab, and enable it, I can't actually see it in my create content form. No matter what I do, it shows up in the regular taxonomy selection format. Any ideas?
cg
Comment #10
rconstantine commentedTo whom are you addressing your questions; To Wim, or to me? If to Wim, you might want to open a new issue over at the Hierarchical Select module.
Comment #11
cgjohnson commentedThanks, I opened a new issue.
I wanted to add, to you, that SSU is a great module. One question about TSS: any way to get parent items to be auto-checked if child items are selected? is there a way to control whether child selection automatically selects parents?
As for the patch, I really wish I could code and help with that.
Comment #12
summit commentedSubscribing.
Radiobutton support still dificult to select the right module..
greetings,
Martijn
Comment #13
rconstantine commentedI'm closing this as the discussion should now be moved to CCKTSSU and no longer has to do with cck address.