Closed (duplicate)
Project:
Location
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Mar 2007 at 16:59 UTC
Updated:
7 Dec 2007 at 03:47 UTC
Shouldn't the location module provide a CCK field?
Are there plans to implement a CCK field in the near future?
How would a CCK/location integration look like? location goes CCK or rather an optional interface to CCK?
Thanks for your great module, btw...
Alex
Comments
Comment #1
ankur commentedI know there is currently work for a 'zipcodes' module for CCK, but I've only thought about making location module a CCK module, but haven't actually looked into it in any way.
I think the 'zipcodes' module is the wrong way to go (though perhaps a start for the right way to go) since the location module was originally born out of a need for a simple 'zipcodes' module with a proximity search fn. However, before implementation even began, there was a bunch of input and good reasons from the CivicSpace community about how it should include other address fields as well. In anycase, if you're interested in taking a look at the zipcodes module, browse the CVS at http://cvs.drupal.org/viewcvs/drupal/contributions/modules/zipcode/
I personally think location module should be a CCK module as it might well help the 'location as a venue-node' issue at http://drupal.org/node/111574 (with some kind of integration w/ the nodereference module)
-Ankur
Comment #2
mariuss commentedI added a somewhat related feature request: "See map" CCK field:
http://drupal.org/node/139983
Comment #3
ms2011 commentedThere is already an Address field for CCK: http://drupal.org/node/143423
I think someone should integrate it with the Location.module.
I also think we should separate the various fields that make up an address. For example, what if all you care about is the state and country where a node is located? If the fields were CCK fields, and they were separate, you could simply add a State field and a Country field, and then let location.module provide the latitude/longitude for the general center of the state or however specific you chose to allow the user to go using various combinations of the fields.
Hoping someone will have time to build something like this soon! :)
Comment #4
ray007 commentedI've already written about integrating the cck address field with location in an issue over there, but the response was not exactly overwhelming ...
Comment #5
bcn commented+1
subscribe...
Comment #6
lias commentedThere is a very new module here: http://drupal.org/project/see_map that may be of interest.
Comment #7
ms2011 commentedOk, so I started doing it myself and posted a patch here:
http://drupal.org/node/183004#comment-634112