Closed (fixed)
Project:
Yelp
Version:
7.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
22 Mar 2012 at 15:06 UTC
Updated:
10 Jul 2012 at 14:38 UTC
I really like this module!
How complicated would it be to make the location / address field token-able, so that if I put my zipcodes or address in on my profile (or via the commerce profile) that it would be ale to offer each user a contextual view of businesses that are close to them, vs the site.
Or just expose the zipcode / address in the block for direct user input.
Though I think the pulling of a token would be more elegant.
I am not a PHP guru, only know enough to be dangerous, but from what I have seen, if the API part were to stay in the Module, and the token be input in to a "Block" (or view) it will be able to pull "active user" context with more ease.
Thoughts?
Thanks!
- Josh
Comments
Comment #1
mikemiles86I will look into adding this functionality
Comment #2
ttesteve commentedFirstly, thanks for a great module. I've only just installed it but great to see it working so quickly and easily on install.
I'm also looking for the same sort of functionality as jhrizz for being able to tokenise the address field in the search.
If it's not asking too much, it would also be great to do likewise for the business categories, perhaps exposing the list of categories to the user so that they can narrow down the listings by business category themselves. This would be particularly helpful given Yelp's 20-result limit on the API.
Anything you can do would be greatly appreciated but, in the meantime, thanks for an already great module.
Comment #3
mrpeanut commentedJust wanted to say that I, too, love the module, and would also appreciate this functionality. I am now using OpenLayers, Geofield, and Geocoder. Integrating Yelp in this would be the best!
Comment #4
mikemiles86Thanks for the input guys. I'm currently in the planning stages of version 7.x-2.0 for this module.
It'll have a bunch of improvements from 7.x-1.0; using Yelps API 2.0 (40 result limit instead of 20), utilizing tokens, features integration, better caching (to curb API rate limiting), a 'yelp results' view (if I can figure out view handlers correctly) and more.
I work full time as a Drupal developer and I am working on this in my (little) free time, so it is going to take a few weeks to complete (I'm estimating at least 2months).
Comment #5
mikemiles86I have just release the 7.x-2.0 version of the module. It is a complete rewrite of the module and adds a lot of functionality.
the 7.x-2.0 version integrates with tokens, addressfield and Features.
thanks for your inputs.