Trying to use gmap to allow users to show their location. However there are no location options in the user/edit pages.

The Google map shows up properly on map/user, but when I click on the link in: "To add/change your location to the user map, edit your location." there is no location information displayed.

I don't think this is a permissions issue because admin also doesn't have it, and all of the permission are set properly.

Perhaps related, I get an error on admin/settings/location/geocoding stating "warning: Invalid argument supplied for foreach() in /home/public_html/modules/location/location.admin.inc on line 133."

Comments

akahn’s picture

I am not having the same issue. When I edit my user account (/user/4/edit), I can change my location.

pmark23’s picture

Removed everything (including database fields), and re-installed with the same problem.

Jotun-1’s picture

You need to go to content types and edit, for example, the page type and there specify that you want to use location for all pages and what settings you want to display.

pmark23’s picture

Thanks Jotun. Yes, I've done this (for all content-types) but it has no effect on anything (besides asking for the location in places I don't need it -- but no map).

What type would "Users" be? All I want it for is to allow users to show their location.

pmark23’s picture

Status: Active » Closed (fixed)

Okay, figured this out. Turns out that I needed to reconfigure admin/user/settings after updating to the dev version.

nipsy’s picture

that sounds like a bug. Shouldn't the settings remain through an upgrade?

pixelpreview@gmail.com’s picture

same problem I can't see the location module in my edit page ... I am the admin.
I have checked the case submit latitude/longitude for authenticated users but nothing.
I don't have these options in my profil.

I use the laste version of drupal 5

oups sorry solution is here : http://drupal.org/node/371307