Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
» Store location information for users, groups in AddressField
Project:
Commons Events
» Drupal Commons
Moving this to the main Commons queue since we'll likely want to standardize on a single solution for storing location information.
Benefits to using Addressfield:
- It's actively maintained by Commerce Guys, so it's unlikely to go anywhere
- It's got healthy project usage (30k sites and increasing at a rate that's increasing)
- Complies with xNAL standard
- It's limited in scope (collecting international postal addresses).
Are there any alternative systems that folks feel we should use instead?
Mariomaric correctly points out I was a little overzealous in closing this issue - We haven't achieved the goal in the title yet ;).
In my view, locative information for users seems like an optional user profile field that we should include, and we should include it by default with Commons Groups.
Comments
Comment #1
ezra-g commentedMoving this to the main Commons queue since we'll likely want to standardize on a single solution for storing location information.
Benefits to using Addressfield:
- It's actively maintained by Commerce Guys, so it's unlikely to go anywhere
- It's got healthy project usage (30k sites and increasing at a rate that's increasing)
- Complies with xNAL standard
- It's limited in scope (collecting international postal addresses).
Are there any alternative systems that folks feel we should use instead?
Comment #2
ezra-g commentedAddressfield was committed in #1743416: Add Addressfield, Date to Commons make file.
Let's proceed with this as the selection, though it's certainly early enough to revisit if anyone has specific objections.
Comment #3
ezra-g commentedMariomaric correctly points out I was a little overzealous in closing this issue - We haven't achieved the goal in the title yet ;).
In my view, locative information for users seems like an optional user profile field that we should include, and we should include it by default with Commons Groups.
Comment #4
izkreny commentedI changed title to be even more precise. :)
So, we will include location information in:
Did I understand this correctly?
Should we fill separate feature requests in each module issue queue?
Comment #5
jpontani commentedI do that already in Commons Events. If the select list for Location is "Online" then the address field is hidden, otherwise it is shown.
Comment #6
izkreny commented@jpontani: Great, than we can reuse that principle. :)
JFTR, I closed (as duplicate) #1074208: Add a location field to group and event content types @ GDO issue queue.
Comment #7
jpontani commentedThis exists as the commons_location feature module.