Jump to content

Script to load google maps inside .tpl page

Recommended Posts


Vreau sa va intreb daca e ok sa fac chestia asta, desi nu am reusit sa fac o tema child avand niste erori pe care nu am reusit sa-mi dau seama ce-s cu ele si lucrez pe cea principala, nu am mai lucrat pana acum in prestashop si parerile sunt impartite. Vreau sa adaug la o pagina .tpl un google maps cu multiple markers si info label, am gasit un modul contentBox care incarca js-urile in footer sau unde vreau eu sa le incarce si acolo am sa adaug partea de js de la google maps si in pagina .tpl este ok sa fac asta de exemplu?


<div id="map"></div>
<!-- Replace the value of the key parameter with your own API key. -->

<script async defer


Ar functiona google maps-ul daca as face asa? 


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

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