OS Property support center

SOLVED !!! "how to" questions

  • Enzo Artale
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 1 month ago - 10 years 4 weeks ago #61336 by Enzo Artale
SOLVED !!! "how to" questions was created by Enzo Artale
Hi Dam
1) I think the default zoom of the map in the locator search page it's currently too close in my site (first image), as it covers just a small part of Rome. I'd like to enlarge it in order to cover, possibly, the entire Country map (Italy). I've set up to 5 the zoom level of google map setting in tab "general" of configuration panel (second image), tried to change this value but nothing happened. How to have a further away default view in the locator search map?
2) Since it seems to be no difference between "walk" and "car" style route in "get directions" function, how to remove the related dropdown?
3) I added social icons to property listing but they are shown under the related properties at the bottom of the page (third image), so that users could get a little bit confused about what those icons are related to (the current property? the related properties? the entire site?). How to move them near the property header or at least beside the other social icons already set up (fourth image)?
Thanks.
Enzo
Attachments:
Last edit: 10 years 4 weeks ago by Mr. Dam.

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

More
10 years 1 month ago #61445 by Mr. Dam
Replied by Mr. Dam on topic "how to" questions
Hi Enzo,
1) I think the default zoom of the map in the locator search page it's currently too close in my site (first image), as it covers just a small part of Rome. I'd like to enlarge it in order to cover, possibly, the entire Country map (Italy). I've set up to 5 the zoom level of google map setting in tab "general" of configuration panel (second image), tried to change this value but nothing happened. How to have a further away default view in the locator search map?
-> The default zoom of map can't be setup through Configuration, because the system will auto generate the zoom level depend on number of properties on the map.
2) Since it seems to be no difference between "walk" and "car" style route in "get directions" function, how to remove the related dropdown?
-> To remove the Related dropdown, please open file: components > com_osproperty > direction.html.php
find: <?php echo $lists;?> and remove it
3) I added social icons to property listing but they are shown under the related properties at the bottom of the page (third image), so that users could get a little bit confused about what those icons are related to (the current property? the related properties? the entire site?). How to move them near the property header or at least beside the other social icons already set up (fourth image)?
-> The social sharing icons like Pinterest, Google plus.. will be shown at the bottom of Property details page, to modify it, you can make the changes on file: components > com_osproperty > templates > current_template > details.html.php
Find this code for modification
<?php
if(($configClass == 1) or ($configClass == 1) or ($configClass == 1)){
?>
<div class="row-fluid">
<div class="span12">
<?php echo $row->tweet_div;?>
<?php echo $row->gplus_div;?>
<?php echo $row->pinterest;?>
</div>
</div>
<?php
}
?>

Thanks
Dam

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

  • Enzo Artale
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 1 month ago #61474 by Enzo Artale
Replied by Enzo Artale on topic "how to" questions
Hi Dam
Solved! All your instructions worked fine, and now I got social sharing icons where I wanted in the property listing (image), thanks a lot.
Attachments:

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

Moderators: Mr. DamNguyen Phu Quan