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

rconstantine’s picture

Status: Active » Postponed (maintainer needs more info)

Not 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.

cgjohnson’s picture

Ideally, 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?

rconstantine’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

In 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.

cgjohnson’s picture

Good 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.

cgjohnson’s picture

Quick 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.

rconstantine’s picture

Currently, 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.

cgjohnson’s picture

That'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!

wim leers’s picture

You 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.

cgjohnson’s picture

Thanks 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

rconstantine’s picture

To 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.

cgjohnson’s picture

Thanks, 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.

summit’s picture

Subscribing.
Radiobutton support still dificult to select the right module..
greetings,
Martijn

rconstantine’s picture

Status: Closed (works as designed) » Closed (fixed)

I'm closing this as the discussion should now be moved to CCKTSSU and no longer has to do with cck address.