1

I am building a website which on the contact page will have a section to find your local sales representive. I intend to do this by having a content type of sales rep with a location field and creating a view from this content on the contact page.

As an improvement to this i would like it to automatically (if the user allows it) to take the geo location of the user and automatically filter the view by this showing the users nearest sales rep.

Are there any modules in existence which i can use to achieve this? Or am I likely to have to build a custom module?

closed as off-topic by kiamlaluno Jun 9 at 10:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions asking to recommend or find a book, tool, module, theme, distribution, tutorial, or other off-site resource are off-topic for Drupal Answers as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it." – kiamlaluno
If this question can be reworded to fit the rules in the help center, please edit the question.

3

You will need custom coding to provide the argument to the view, but you could use the following modules for the geolocation functionality:

Feature-rich, server-side solution: Smart IP

Simpler, ip-based server/client-side solution: geoPlugin

Not the answer you're looking for? Browse other questions tagged or ask your own question.