I have been searching the forums for a few hours, and am having a hard time finding out how to do something that I think should be quite simple. All I am looking to do is add location info to a custom content_type so that I can map it. I have gmap, the location api, and cck, but am not able to see where I can add a custom field for location_latitude and location:longitude. If I try to create a custom view, all the location:* fields show up, but I don't know where to enable them so I can add data into these fields.

If anyone would show me the light, I would appreciate it.

Also, I have seen some sites where people use a google map to set the lat/lon. If anyone could show me where to find that cool piece of script, I would appreciate that also.

Thanks

Comments

nancydru’s picture

CCK can probably do this. Otherwise you'll probably need a module to save the extra data.

Nancy W.
Drupal Cookbook (for New Drupallers)
Adding Hidden Design or How To notes in your database

nevets’s picture

For the location module, if you visit "Administer" -> "Content management" -> "Content types" you will see a page listing each content type with an 'edit' operation. Click on 'edit' for your content type and you will find a section for location which allows you to determine which fields to show in the add/edit form. You may also need to look under "User management" for "Access Control" and configure the permisions for the location module.

akaney’s picture

I can't believe how blind I can be sometimes. I checked that page 80 times before posting here, and now I see the link. Sorry for wasting your time, hopefully someone else will find this posting useful, that won't make me feel so bad lol.

nancydru’s picture