Closed (fixed)
Project:
Location
Version:
5.x-2.7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2007 at 16:15 UTC
Updated:
25 Apr 2009 at 04:12 UTC
We need some help with Location.
We want to implement location based search. For example a drop down that says 5,10,20, 50 miles from (your home zip code) and have certain events in this range show up. How is this done with location. How can I set this up.
Right now we are using the Address and Zip code fields for the CCK module. But it is unclear on how they connect with the location module. Do they?
In addition, I want to have at least home zip code and work zip code displayed on certain profile pages not necessarily on the user page.
Thanks,
Chris
Comments
Comment #1
JStarcher commentedI really need this as well. I know there are some PHP classes for figuring zip code mileage but the only thing I can find you must pay for the script.
Thanks.
Comment #2
socialnicheguru commentedCan you share the URLs for these scripts. Thanks!
Comment #3
yesct commentedIf I understand correctly, you are using the address and zip cck fields, which I dont think interact with this module. Location has it's own cck field which includes fields like country, zip, street address, state, etc.
sounds like ultimately you would add cck fields to your content type. One location cck field for home, one for work, and then require or allow the zip code for both. But the zip code proximity search for cck location fields is a work in progress right now.
Eventually, there might be documentation at #359463: Howto: Zip/postal code proximity search using views and location (Drupal 6)
You might be interested in following http://groups.drupal.org/node/929
or #321114: Fixing exposed filters in Views for UK and US postal code proximity search (not cck location)
Since this is pretty old, I'll mark it as needs more info. And I'll close it in 2 weeks if there is no response.
Comment #4
yesct commented