Hi,
Thanks for taking the time to help.
My team and I are working on a project where we’d like to setup dual-relationship channel entries: one descriptive and one location-based, for example:
Food (descriptive)
Italian Cuisine
Thai Cuisine
French-american Cuisine
City (location)
New York, NY
Los Angeles, CA
Spartanburg, SC
Ideally, a user would select their food category and the following page would display all entries from that food category and the user’s city (by name). They would of course be able to manually select a different city, or search for a zip code.
. . .
I found this web service: http://dev.maxmind.com/geoip/javascript which seems like it could be very helpful for auto-detecting the user’s city, zip, state code, etc., but we’re not sure on how to effectively tie this into EE’s categories.
Our current idea is to create city categories and use GeoIP to return a string of the city name and use that as a URL segment and dynamically build a link to the appropriate channel entries.*
*We’d have to make sure the string returned matched the EE category… or whether a category with that city name even exists.
. . .
Hopefully this is clear description of what we’re looking to accomplish. If you have any ideas or can recommend any modules to help with something like, we’d be greatly appreciative.
Thanks.