Tuesday, November 29, 2011

How to use Drupal Node Locations/Location CCK modules

Using Node Locations

Install these modules
Gmap

Location

Node Location  : This provides address input textfields in a
node. To configure it edit node type

Gmap Location : You add a block of the gmap of the node in view
mode. But this block is not visible when using Location CCK.




Using Location CCK

In this case you don't need Node Location and instead follow the
following configuration

1) Gmap

2) Location CCK

3) Location

Now add the location cck field in the node and in it's "Display Fields" select "Address with map" under "Full Node". This will show map for the location entered automatically.
This will automatically add Google map as in the image below.

Location CCK will store location data in location_instance. Here is the thread.

No comments:

Post a Comment