Google map on localhost
- Posted by grio (5) Offline
Hello! Everything is work! Thanks so much! The trick was to remove sign from coordinates!
I would like to say that your component is awesom and best of all!
Questions/ requests:
1. Is it possible to display google earth map instaed ot street view?
2. I need for social icons vc.com How to insert this icon?
Thanks in advance!
Grio
9 years 9 months ago #7
by grio
I would like to say that your component is awesom and best of all!
Questions/ requests:
1. Is it possible to display google earth map instaed ot street view?
2. I need for social icons vc.com How to insert this icon?
Thanks in advance!
Grio
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5310) Offline
Hi glad you found it works
../modules/mod_contactmap/tmpl/default.php
At lines 220 you will see this code :change that to
9 years 9 months ago #8
by TemplatePlazza

You can do that by modifying a line the this file :1. Is it possible to display google earth map instaed ot street view?
../modules/mod_contactmap/tmpl/default.php
At lines 220 you will see this code :
mapTypeId: google.maps.MapTypeId.ROADMAP,
mapTypeId: google.maps.MapTypeId.HYBRID,
What is vc.com? Did you mean vk.com?2. I need for social icons vc.com How to insert this icon?
Thanks, glad you like it. If you don't mind please leave us a rating at extensions.joomla.org/extensions/extensi...sponsive-contact-map. It will help us much. Thanks!I would like to say that your component is awesom and best of all!
Please Log in or Create an account to join the conversation.
- Posted by grio (5) Offline
Sorry, sure it is vk.com 
Thanks for google map change!
Your link for rating comig back with 404 error check it pls and I will give highest one !
9 years 9 months ago #9
by grio

Thanks for google map change!
Your link for rating comig back with 404 error check it pls and I will give highest one !
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5310) Offline
Sorry the link is extensions.joomla.org/extensions/extensi...sponsive-contact-map
Regarding the vk.com, to do that you need to change some files :
1. [joomlaroot]/modules/mod_contactmap/mod_contactmap.xml
around line 245, after this code :add this code2. Open this file : [joomlaroot]/modules/mod_contactmap/mod_contactmap.php , around lines 44, after this codeadd this code3. Copy this file : [joomlaroot]/modules/mod_contactmap/tmpl/default.php to [joomlaroot]/templates/your_active_template_name/html/mod_contactmap/default.php (create the folder mod_contactmap first if it's not existed) . Open /templates/your_active_template_name/html/mod_contactmap/default.php file, around lines 101 after this code :add this code :
and then at lines 252 change this code :to4. Upload your vk logo image to [joomlaroot]modules/mod_contactmap/tmpl/assets/img/ and name it as vk.png
5. Go to the contact map module backend, you'll see the new vk.com field there, simply enter your vk.com username
That's all. Hope this helps
9 years 9 months ago #10
by TemplatePlazza
Regarding the vk.com, to do that you need to change some files :
1. [joomlaroot]/modules/mod_contactmap/mod_contactmap.xml
around line 245, after this code :
<field name="skype"
type="text"
default=""
label="MOD_CONTACTMAP_SKYPE_LABEL"
description="MOD_CONTACTMAP_SKYPE_DESC" />
<field name="vk"
type="text"
default=""
label="VK"
description="Enter your VK username" />
$skype = $params->get('skype');
$vk = $params->get('vk');
... .$skype."'/><span>".$skype."</span></a></li>"; } else { $s_skype ="";}
if($vk) { $s_vk ="<li><a href='http://www.vk.com/".$vk."' ><img src='".JURI::base()."/modules/mod_contactmap/tmpl/assets/img/vk.png' width='40' alt='".$vk."'/><span>".$vk."</span></a></li>"; } else { $s_vk ="";}
and then at lines 252 change this code :
<?php echo $s_twitter.$s_facebook.$s_gplus.$s_linkedin.$s_instagram.$s_dribbble.$s_skype; ?>
<?php echo $s_twitter.$s_facebook.$s_gplus.$s_linkedin.$s_instagram.$s_dribbble.$s_skype.$s_vk; ?>
5. Go to the contact map module backend, you'll see the new vk.com field there, simply enter your vk.com username
That's all. Hope this helps

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