Jump to content

Hide some markers from geomaps module


Luff

Recommended Posts

Hi Alejandro,

 

Can you tell me which file I have to modify if I want to show markers in geomaps module only if a custom field value is true within the listing?

I don't want to show all listings in my map (as some listings are only of interest for certain member groups), therefore I created a custom checkbox field jr_showonmap. If the filed value is true, the marker should be shown on the map. If it is False, no marker should be shown. I imagine this is not to hard to achieve if you let me know where to work on, is it?

It was not to difficult to adjust the code of categories_controller.php to hide the listings form tableview, only the markers are left and still show on the map.

 

Thanks and Regards!

Link to comment
×
×
  • Create New...