PDA

View Full Version : (Listings on Map) plugin shows identification Icon on listings (bug)



PGGO
December 26, 2012, 08:40 AM
I turned OFF “Listings on Map” block for specific categories; however, the identification Icon still appears on all listings within all categories.

Vladimir
December 26, 2012, 11:02 AM
Hello,

You are likely to disabled only block but the plugin works; because you still see this icon.

PGGO
December 27, 2012, 12:15 AM
You are likely to disabled only block but the plugin works; because you still see this icon.


This is correct; I disable this block for other categories, because I need this Map only for one category.

However, these Icons are still appearing on other categories and they may confuse users.

Is it possible to hide these Icons from categories where Map block was disabled?

Vladimir
December 27, 2012, 03:29 AM
You can try to fix it the following way:

- open file: plugins/browse_map/icon.tpl
- find this code:



{if $listing.Loc_latitude && $listing.Loc_longitude && $pageInfo.Key != 'search_by_distance'}


and change it to:



{if $listing.Loc_latitude && $listing.Loc_longitude && $pageInfo.Key != 'search_by_distance' && $blocks.browseMap_map}

PGGO
December 27, 2012, 05:50 AM
It works!

Thank you.