Jump to content
shacker

[Module] Gmaps, Google Maps V1.2- Ps 1.3/1.7

Recommended Posts

Gmaps allows you to display a map google maps on your Prestashop Store.

The module can let you configure the Google map url, the height and the style (width). In PS 1.6, you cna sed the size in blocks (columns).

The module can be used in homepage, footer or columns.

Features:

  • Fully configurable
  • Cross browser

browsers.png

  • Multilingual

multilingual.png

  • Multistore

multistore.png

Link

http://catalogo-onlinersi.net/en/home/463-google-maps-prestashop-module.html

 

Please check the attach module version, if is not the last, you can download from our site. Visit our site to get more free modules and themes.

google-maps-prestashop-module.jpg

google-maps-prestashop-module.jpg

Video

 

gmaps.zip v1.0

gmaps.zip v1.1
gmaps.zip v1.2

 

 

Edited by shacker (see edit history)
  • Like 3

Share this post


Link to post
Share on other sites

Forgot to ask, can this module be displayed in right or left columns for PS 1.5?

Share this post


Link to post
Share on other sites

Installed it but cannot change the google map embedded code, it gives:

Forbidden

You don't have permission to access /adminfolder/index.php on this server

 

Any clue?

Regards,

Share this post


Link to post
Share on other sites

i tested in some sites and works fine. Check if you user have the right permissons to modify this module (if is not superadmin), becouse for every new module installed you need to add the module again so users can configure it.

ALso try add another module and check if is the same issue

Share this post


Link to post
Share on other sites

Yes, the permissions are ok and I can install any other module.

How about changing the url in the tpl file, will it work?

Since it is not kept in a db table I presume it is hard coded in a tpl file.

Kind Regards,

       Robert

Share this post


Link to post
Share on other sites

try this

 

 

 regenerate htacecss it by turning on/off or off/on friendly url from seo and url

 

If dont work, ask your host

Share this post


Link to post
Share on other sites

Upgraded to 1.6.0.13 and the module works great!

Thank you again, Shacker!

Share this post


Link to post
Share on other sites

 

Gmaps allows you to display a map google maps on your Prestashop Store.

The module can let you configure the Google map url, the height and the style (width). In PS 1.6, you cna sed the size in blocks (columns).

The module can be used in homepage, footer or columns.

Features:

  • Fully configurable
  • Cross browser

browsers.png

  • Multilingual

multilingual.png

  • Multistore

multistore.png

Link

http://catalogo-onlinersi.net/en/home/463-google-maps-prestashop-module.html

 

Please check the attach module version, if is not the last, you can download from our site. Visit our site to get more free modules and themes.

google-maps-prestashop-module.jpg

google-maps-prestashop-module.jpg

attachicon.gifgmaps.zip

 

Bonjour, Merci shacker pour ce partage ! Amitiés

Share this post


Link to post
Share on other sites

Bonjour, Merci shacker pour ce partage ! Amitiés

Merci pour les commentaires

Share this post


Link to post
Share on other sites

Upgraded to 1.6.0.13 and the module works great!

Thank you again, Shacker!

iu welcome.

Share this post


Link to post
Share on other sites

hi,

can anyone help? thanks

I installed module ok. The "OUR LOCATION" html and iframe code are in the footnote of theHTML file

but the map does not show on the browser (firefox)!!

 

I also tried enable iframe in preference already. but the problem is still there.

 

THANKS FOR YOUR HELP

 

    <section class="footer-block col-xs-12 col-sm-4" id="block_maps">
        <h4>Our location</h4>
        <iframe src="https://www.google.com/maps/place/..." width="100%" height="200" frameborder="0" style="border:0" ></iframe>
    </section>
</div>

Edited by hiheaven (see edit history)

Share this post


Link to post
Share on other sites

Hi shaker,

 

Thanks for the module.

But i think i might have a problem in ps 1.6.0.14.

 

The admin doesn't stop refreshing and the error is this:

 

can you help plz, i think you cannot initiate gmap twice or something like that.right?

 

Uncaught SyntaxError: Unexpected token ,

 

the source (line in red):

 

function init_map_0() {
   var myOptions = {
       zoom: 14,
       center: new google.maps.LatLng(, ),
       mapTypeId: google.maps.MapTypeId.ROADMAP
   };
   map_0 = new google.maps.Map(document.getElementById("gmap_canvas_0"), myOptions);
   marker = new google.maps.Marker({
       map: map_0,
       position: new google.maps.LatLng(, )
   });
   infowindow = new google.maps.InfoWindow({
       content: ", "
   });
   google.maps.event.addListener(marker, "click", function() {
       infowindow.open(map_0, marker);
   });
   
   var geotracking_span_0 = document.getElementById('geotracking_span_0');
}
 
 
function reload_map_0() {
setTimeout(function(){ google.maps.event.trigger(map_0, 'resize'); }, 500);
}
 
try {
google.maps.event.addDomListener(geotracking_span_0, 'click', reload_map_0);
/*google.maps.event.addDomListener(window, 'load', init_map);*/
 
init_map_0();
 
} catch(e){}
 
thks

Share this post


Link to post
Share on other sites

hi,

can anyone help? thanks

I installed module ok. The "OUR LOCATION" html and iframe code are in the footnote of theHTML file

but the map does not show on the browser (firefox)!!

 

I also tried enable iframe in preference already. but the problem is still there.

 

THANKS FOR YOUR HELP

 

    <section class="footer-block col-xs-12 col-sm-4" id="block_maps">

        <h4>Our location</h4>

        <iframe src="https://www.google.com/maps/place/..." width="100%" height="200" frameborder="0" style="border:0" ></iframe>

    </section>

</div>

wich version of ps and module you have?

 

Hi shaker,

 

Thanks for the module.

But i think i might have a problem in ps 1.6.0.14.

 

The admin doesn't stop refreshing and the error is this:

 

can you help plz, i think you cannot initiate gmap twice or something like that.right?

 

Uncaught SyntaxError: Unexpected token ,

 

the source (line in red):

 

function init_map_0() {
   var myOptions = {
       zoom: 14,
       center: new google.maps.LatLng(, ),
       mapTypeId: google.maps.MapTypeId.ROADMAP
   };
   map_0 = new google.maps.Map(document.getElementById("gmap_canvas_0"), myOptions);
   marker = new google.maps.Marker({
       map: map_0,
       position: new google.maps.LatLng(, )
   });
   infowindow = new google.maps.InfoWindow({
       content: ", "
   });
   google.maps.event.addListener(marker, "click", function() {
       infowindow.open(map_0, marker);
   });
   
   var geotracking_span_0 = document.getElementById('geotracking_span_0');
}
 
 
function reload_map_0() {
setTimeout(function(){ google.maps.event.trigger(map_0, 'resize'); }, 500);
}
 
try {
google.maps.event.addDomListener(geotracking_span_0, 'click', reload_map_0);
/*google.maps.event.addDomListener(window, 'load', init_map);*/
 
init_map_0();
 
} catch(e){}
 
thks

 

you get this on admin or in front office? can you attach a screenshot?

Thanks,

I have a small question. When i go to online store by mobile, this tool is ok or not?

Thanks again.

if your site is on ps 1.6, must works responsive

Share this post


Link to post
Share on other sites

I have message:

 

The Google Maps API server rejected your request. Requests to this API must be over SSL.

Share this post


Link to post
Share on other sites

Hi !

 

great module, manz thx!

 

I have a problem, when I put desired URL map doesn't show

can anyone help me?

 

this is desired URL: https://www.google.ro/maps/place/Strada+Baicului+74,+Bucure%C8%99ti/@44.4487438,26.1458303,17z/data=!4m2!3m1!1s0x40b1f927f2733177:0xbb711c2e0ccab760?hl=ro

 

or, short URL: https://goo.gl/maps/Wuxrw8QbCPM2

 

thanks!

Share this post


Link to post
Share on other sites

Bonjour,

 

Je viens d'installer votre module malheureusement j'ai une erreur dans la console Developpeur Chrome : 

 

Refused to display 'https://www.google.fr/.............' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

 

Savez vous pourquoi?

 

Merci beaucoup.

 

Denis

 

Pb résolu : Je n'avais pas choisi le lien dans l'onglet insérer désolé pour le post...

Edited by denis.717 (see edit history)

Share this post


Link to post
Share on other sites

Hi !

 

great module, manz thx!

 

I have a problem, when I put desired URL map doesn't show

can anyone help me?

 

this is desired URL: https://www.google.ro/maps/place/Strada+Baicului+74,+Bucure%C8%99ti/@44.4487438,26.1458303,17z/data=!4m2!3m1!1s0x40b1f927f2733177:0xbb711c2e0ccab760?hl=ro

 

or, short URL: https://goo.gl/maps/Wuxrw8QbCPM2

 

thanks!

pelase download the latest version and check the isntallation demo, you must use the iframe url

Bonjour,

 

Je viens d'installer votre module malheureusement j'ai une erreur dans la console Developpeur Chrome : 

 

Refused to display 'https://www.google.fr/.............' in a frame because it set 'X-Frame-Options' to 'SAMEORIGIN'.

 

Savez vous pourquoi?

 

Merci beaucoup.

 

Denis

 

Pb résolu : Je n'avais pas choisi le lien dans l'onglet insérer désolé pour le post...

wich code you use?

v1.1-added installation video

Share this post


Link to post
Share on other sites

Hi Shacker,

Tks for the module... it works great!

I got a question: why can't I move it to the "displayBottomHome" hook?

I really want it there and not at the "displayFooter" hook.

Share this post


Link to post
Share on other sites

Is it possible add map to CMS?. I need to show Big full map on a separate CMS Page. 

Share this post


Link to post
Share on other sites

you must have enabled iframes in preferences and copy the code of the TPL in your cms page

Share this post


Link to post
Share on other sites

Hi

 

thanx for this excellent plugin and sharing this for free. I have a small problem and I would like to know it there is an easy way to display the maps in the selected language for a multi-language site. For example is it possible when in english to display the maps.google.COM version and when in greek the maps.google.GR version?

Also in the embed code i have chosen to display the greek maps domain (maps.google.gr) however the module is displayed in English. I have recompiled and cleaned the cache but always the english version is loaded. Can you please look into it?

 

Regards

Share this post


Link to post
Share on other sites

you must have enabled iframes in preferences and copy the code of the TPL in your cms page

Dear Shacker,

 

Thank you for your module. I tried and it worked well in the footer.

 

I'd like to use it in a CMS page, so:

  1. I enabled iframes
  2. I cleared the cache and forced compilation
  3. I copied the text from gmaps-footer.tpl / gmaps-header.tpl / gmaps-home.tpl and pasted it in the CMS page

The result is a page in my page... Like this: http://prnt.sc/cd6ir2

What did I do wrong? Can you try to help? Thank you.

Share this post


Link to post
Share on other sites

looks like you included directly.

 

you must paste the code in the cms.tpl  and put the code of teh footer of the module somewhere with a if

 

 

{if $cms->id eq 5}

 

googlemaps code

{/if}

 

 

5 is the id of the cms

Share this post


Link to post
Share on other sites

Hi Shacker,
 
Thanks for your help.

 

However I was working on this a couple months ago... My mind switched on to something else and I'm not sure I follow you anymore:
 

you must paste the code in the cms.tpl


The code from what file? And where on cms.tpl to paste it?
 

and put the code of teh footer of the module somewhere with a if

{if $cms->id eq 5}
googlemaps code
{/if}

5 is the id of the cms


I copy all the code from gmaps-footer.tpl?

Where should I paste it with a if: On my CMS page? Or in another tpl file?

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi Shacker,

 

Thanks for your help.

 

However I was working on this a couple months ago... My mind switched on to something else and I'm not sure I follow you anymore:

 

The code from what file? And where on cms.tpl to paste it?

 

I copy all the code from gmaps-footer.tpl?

Where should I paste it with a if: On my CMS page? Or in another tpl file?

 

Thanks in advance.

in the cms.tpl page

  • Like 1

Share this post


Link to post
Share on other sites

Hello

Thank you so much for this module.
It's working great on PS 1.7, but since the fact that this version of PS is full of bugs I had to make my site on 1.6.
Gmaps work great on 1.6 as well, except when I need to change the format (the shape) I need it to be (col-xs-2), but unfortunately all formats are the same, I tried every format but no difference on my site, and of course I always clear the cash.
I'm looking for help and thank you in advance

Share this post


Link to post
Share on other sites

Hi Shacker,

 

Thanks for your help.

 

However I was working on this a couple months ago... My mind switched on to something else and I'm not sure I follow you anymore:

 

The code from what file? And where on cms.tpl to paste it?

 

I copy all the code from gmaps-footer.tpl?

Where should I paste it with a if: On my CMS page? Or in another tpl file?

 

Thanks in advance.

you must put the code where you need to show the map. Usually after the cms content

  • Like 1

Share this post


Link to post
Share on other sites

PS 1.7.2.4 - doesnot work, i get this error. I am superadmin.

Forbidden

You don't have permission to access /adminfolder/index.php on this server

Edit1: when you paste link with https://... i get error with forbiden (https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d5328.498850794232!2d15.76628607745503!3d50.01877129117993!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470dcb62dcddc3ab%3A0xfbe9c7fc46220cd1!2sTOMPET.CZ+s.r.o.!5e0!3m2!1scs!2scz!4v1516550439332)

When paste link without https:// -> like this: www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d5328.498850794232!2d15.76628607745503!3d50.01877129117993!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470dcb62dcddc3ab%3A0xfbe9c7fc46220cd1!2sTOMPET.CZ+s.r.o.!5e0!3m2!1scs!2scz!4v1516550439332 then the maps doesnt work

Edited by Euronymous (see edit history)

Share this post


Link to post
Share on other sites

Can you tell me whether using this module allows Google to collect any data of the visitors of my shop? Might be interesting for some of us, especially for the ones from the EU.

Share this post


Link to post
Share on other sites
On 8/3/2018 at 6:12 PM, Sibus said:

Can you tell me whether using this module allows Google to collect any data of the visitors of my shop? Might be interesting for some of us, especially for the ones from the EU.

no, only shows the map

Share this post


Link to post
Share on other sites
On 21/1/2018 at 6:44 AM, Euronymous said:

PS 1.7.2.4 - doesnot work, i get this error. I am superadmin.

Forbidden

You don't have permission to access /adminfolder/index.php on this server

Edit1: when you paste link with https://... i get error with forbiden (https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d5328.498850794232!2d15.76628607745503!3d50.01877129117993!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470dcb62dcddc3ab%3A0xfbe9c7fc46220cd1!2sTOMPET.CZ+s.r.o.!5e0!3m2!1scs!2scz!4v1516550439332)

When paste link without https:// -> like this: www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d5328.498850794232!2d15.76628607745503!3d50.01877129117993!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x470dcb62dcddc3ab%3A0xfbe9c7fc46220cd1!2sTOMPET.CZ+s.r.o.!5e0!3m2!1scs!2scz!4v1516550439332 then the maps doesnt work

try to add from ftp

Share this post


Link to post
Share on other sites

Ciao, grazie per questo modulo :)

è possibile inserire 2 mappe? o solo 1?

Grazie

 

Share this post


Link to post
Share on other sites
On 3/24/2018 at 3:59 PM, shacker said:

try to add from ftp

Hi,

please tell in which file can add the link. I tried in gmaps.php but nothing happened.

Thank you, Petr.

Share this post


Link to post
Share on other sites

Thank you - it works great PrestaShop1.7.2.3

Share this post


Link to post
Share on other sites
5 hours ago, kaztor said:

Thank you - it works great PrestaShop1.7.2.3

THANKS FOR COMMENT

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More