|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
terra Smarty Rookie
Joined: 27 Jul 2011 Posts: 26
|
Posted: Wed Mar 05, 2014 7:52 pm Post subject: maps not work in .tpl |
|
|
hi,
I'm having to use google maps in the template, but not working
Quote: | <script>
$(function(){
window.onload = function(){
//Definir o centro do mapa [endereço + elm div]
initMap('{$i.add1}, {$i.add2}, MG','map');
//Adicionar marcadores [endereço + descricao html)
addMarker('{$i.add1},{$i.local}, MG','');
}
})
</script> |
thanks for any help |
|
Back to top |
|
pvdb Smarty Rookie
Joined: 07 Mar 2014 Posts: 6
|
Posted: Fri Mar 07, 2014 2:32 pm Post subject: |
|
|
Try whitespaces before and after "{" and "}" |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|