Hi I'm new to Location module and Gmap, I've spent the last 5 hours trying to research exactly how to do this and I would not normally open up a ticket on something like this, however it seems to me this is a very challenging problem for new users to the module and what is probably a common problem that does not seem to be clearly documented anywhere.

I'm currently using Drupal 7 and as recommended using 7.3 instead of 7.4 version of the Location module. I've successfully created nodes and have been able to map multiple nodes through a view using one Gmap.

The problem is with creating a Gmap based on all registered user locations based on data filled through the registration process to the site. For those of us that already have address fields defined to the default core user table that are being populated during new user registration to the site. I was expecting some kind of mapping feature in the Location Module that would allow me to reference Location table fields to fields that may already exists or associated to the core User table.

Now from my limited understanding of the history and future plans of the Location module 7.4 is supposed to support the new field api that came with Drupal 7, I'm not sure that is why there is this issue?

However I'm fine with any migration changes that may need to happen later my problem is what path is the obvious one right now so that I can have my information referenced by the Location module? Or is there some other recommended solution or approach I should be using so that I can define required fields with validation during user registration?

Basically I'm at a point now where I just want Location and GMAP to work with one step registration of a user being able to enter in address information smoothly right from the start and that information being able to be used in GMAP. Do I really need to dump the current approach I have of storing user information in the user table and have all that information in the Location table? And if so then is there an easy way of having the default validation work with required fields during user registration base don defining them as required through the Location module?

Thanks in advance for any light you can shed on this, I'm sure others will be happy to read a solution to this common issue which I'm sure others that will want to map users using Location and Gmap module will be facing in the future while 7.4 continues to be worked on.

Thanks again.

Comments

orenbus’s picture

Issue summary: View changes

edited for clarification

rooby’s picture

Priority: Critical » Normal

Firstly I would suggest upgrading to the latest 7.x-3.x version.

It has a fixed version of the location cck which allows the location field to be used also on users.

I would probably recommend that over using the user locations module, because that will eventually be phased out.

As for migrating data, I'm not surte I understand your problem.
Do you have some pre-existing location data you want to migrate to use the location module?
If so, how has the existing data been added to the user?

Or have you been using the user locations module and want to migrate to the location cck field solution?

If so that should not be all that difficult, but there is no out of the box functionality to do so yet.

See this issue for that - #375259: Add a migration functionality to migrate locations from node/user locations to cck locations

Also, critical priority is not for support or feature requests.
See http://drupal.org/node/45111 for more info.

rooby’s picture

Issue summary: View changes

edited for clarification

legolasbo’s picture

Status: Active » Closed (outdated)

Closing support tickets that have been inactive for over a year to clean up the issue queue. Please reopen if this is still an issue.