Posted by picciuto on October 26, 2008 at 10:18pm
I have Drupal 6.5 and I'm fairly new to Drupal. I am building a simple business directory using CCK & Views. Well, it was simple until I tried to add Google Maps to each entry. I've made a few custom CCK fields (Street, City, Zip) and I would like to know if I can display a Google Map from these fields. I've looked into a few different modules (Gmaps, Location, Address, Geo) but nothing seems to do what I'm looking for or they seem overly complicated for a simple map display. It appears it was possible with Drupal 5.x using the CCK Map module but it's not compatible with Drupal 6.x. If anybody has any tips or suggestions I would be very grateful.
Comments
afaik, gmap and location are
afaik, gmap and location are the map modules for d6.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Not sure what afaik is
Hmmm, I'm not sure what afaik is. I have played around with Gmap with no luck of pulling the address from CCK fields.
lol-- sorry it's just one of
lol-- sorry it's just one of those lovely little internet laziness conventions. AKAIK = As Far As I Know
Sorry-- I've not used the gmap module except with the location module which seems to work great so far (with the current d6 stable releases of each module).
The cck_gmapaddress module looks promising, but it's not available for d6 yet.
EDIT: it appears as if location module is adding a cck location field, see http://drupal.org/node/183004#comment-1074517.
===
"Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime." - Lao Tzu
"God helps those who help themselves." - Ben Franklin
"Search is your best friend." - Worldfallz
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Wow, you would think for as
Wow, you would think for as many hours as I spend in the internet everyday I would know what AFAIK is. Haha. Thanks for the tip!
location module provides
location module provides indeed a cck field, but it's not the same as a "custom cck field".
searching here as well for an option to use my "own" custom cck fields
EDIT: I found a way: I populated the location cck field (from location module) with the custom cck field value, using RULES module (used tokens)
Adding a directory map
Gmap is a bit of a pain. I have done it all outside of CCK, but I am now looking at gleaning the location from the location CCK system and putting it into a CCK-Gmap, but have had no luck thus far. Early days and not a lot of knowledge hold me back