Closed (fixed)
Project:
Address field for CCK
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
24 Jul 2007 at 19:44 UTC
Updated:
19 Dec 2007 at 03:21 UTC
Hi!
First of all, thanks for this nice module ... It should be easy to set up Country/State/City in the user profiles with it!
I think it would be nice if you could offer a selection of wich fields would be available for the user to fill in. In my case, for example, it would be nice to ask the user only for the country, state and city ...
Thanks in advance,
Carlos.
Comments
Comment #1
rconstantine commentedFor now, I think you should be able to override the theme function and more or less hide the fields you don't want to use. I think you simply set an #access for the form field to FALSE or something like that. If you do this, make sure to not check the required box or they'll be stuck.
But I can see the use for on/off controls for each field. I'm postponing this for version 2.
Comment #2
zottmann commentedOK! Thanks for your reply!
I will try what you suggested, and will keep waiting for version 2 ...
Thanks,
Carlos.
Comment #3
the_other_mac commentedI agree with original requester. More specifically, it would be nice if the displayed/required fields were configurable by country, in each country's add-on files. Not all countries have zip codes for example.
Comment #4
rconstantine commentedDefined in the add-ons? Hmm. Not sure that can be done, but it is interesting. I'll have a look.
Of course not all countries have ZIPs, but are you saying they don't have something equivalent to a postal code at all? Where? How do people get their mail? (j/k)
Anyway, when it comes to changing the names of fields, that's what the translation module is for.
Comment #5
moshe weitzman commentedwhat is the point of the Other field? Seems highly optional. I trie dto set its max length to zero but it still appears. That might be an easy way to let admins disable parts of the address.
Comment #6
rconstantine commentedNow that I'm actually using this module again, I'm annoyed with a couple of things, so expect some changes soon including this one.
I want to add optionality of all (or at least most) fields, renaming of fields, and default values for fields. That last one is particularly useful for sites designed for a specific geography - like a state, city, or zip.
Comment #7
rconstantine commentedDone. Look for a new release soon.
Comment #8
zottmann commentedThanks! Looking forward to this new release!!
Regards,
Carlos.
Comment #9
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.