Jump to content

[SOLVED] Distance search in 2.3 Joomla 1.6?


Lee Wilson1424296141

Recommended Posts

Hi,

 

I've got the geomaps working fine, I can do distance searches and these appear to provide workign results based on distance.

 

I have created a advanced search module to perform a distance search based on a field called jr_town. In the backend geomaps settings I have this fields set as the address input. I've got publish distance on search results set to no.

 

I am trying to use the <?php echo $CustomFields->field('jr_gm_distance',$listing);?> within the template to output the distance results, yet nothing is showing.

 

I am using the default blogview template as  a base from which I have edited. As I understand it the maps are placed in these templates now.

 

Is this field still relevant in 2.3, am I missing something else ? I also used this code in the detail view in case it was the only listing produced by the search. In both instances nothing is shown.

 

 

Link to comment
×
×
  • Create New...