OS Property support center

Same google Pin

  • julian
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 11 months ago #103150 by julian
Same google Pin was created by julian
Hi

I have different tipes of properties, each one with its own google icon, however, when i look into property details page the icon is always the same.

On the other maps the icon is the correct.

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #103176 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Same google Pin
Hi julian,
Please open file: root > components > com_osproperty > helpers > googlemap.lib.php
Find function: loadGoogleMapDetails
In this function find:
Code:
$db->setQuery("Select type_icon from #__osrs_types where id = '$row->pro_type'");
and change to
Code:
$db->setQuery("Select type_icon from #__osrs_types where id = '$property->pro_type'");

Save file and test the Google map in details page again.
If you can't do it, please submit ticket and i will help you to solve the issue.
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • julian
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
7 years 11 months ago #103183 by julian
Replied by julian on topic Same google Pin
When I change it i get a blank page

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #103194 by Dang Thuc Dam
Replied by Dang Thuc Dam on topic Same google Pin
Problem is solved through Ticket system
Thanks
Dam
The following user(s) said Thank You: julian

Please Log in or Create an account to join the conversation.

Moderators: Dang Thuc DamNguyen Phu Quan