Jump to content

Geotargetting the Listings Module


Vincent Marra

Recommended Posts

Hi,

This may be a long-shot, but I thought I would ask anyway, just in case it is possible.

 

Is it possible to geo-target the listings module, so that it shows listings based on the location of the person viewing the module?

 

Basically, I am using this module to display "Featured Listings" so am using it with the "Featured - Random" setting - but I was wondering if I could use the "Custom Where" field in the module settings to specify that it should show listings with latitude and longitude fields that are within 100 miles (for example) of the person viewing the module, based on the viewer's IP address.

 

This would be useful, because I want to be able to show the viewer the featured listings that are most relevant to them first.

 

If it is possible, can you tell me what code to put in the Custom Where field of the Listings Module? The listings have the standard jr_latitude and jr_longitude fields.

 

Thank you in advance.

Link to comment
×
×
  • Create New...