Active
Project:
Location
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Feb 2012 at 13:57 UTC
Updated:
12 Jun 2012 at 01:48 UTC
I'm using profile2 to store user profiles and I *really* want to store addresses in these profiles. I figured that a profile can't be all that different from a node so I dug into the module to see what is going on. What I ended up doing was hacking on location_cck.module to make it with profile2. This largely consisted of the following:
On the 3rd item above, I debated adding the entity type to the genid for nodes but it decided not to in order to minimize issues when the location module gets the capability to work with any entity.
I'm including a patch in case anyone finds this useful, wants to improve it, or if the module maintainers want to include in 7.x-3-x.
| Comment | File | Size | Author |
|---|---|---|---|
| location_cck.module.patch | 3.12 KB | bkat |
Comments
Comment #1
jamuy commentedMuchas gracias por el patch, me encontraba realizando lo mismo y se me dio por buscarlo. Claro que mis modificaciones aun no estaban funcionando a la perfección.
Esperemos que este en breve en el trunk del desarrollo.
Saludos.
Comment #2
Taxoman commentedComment #2.0
Taxoman commentedtypo fix