Hello,<br>I usually modify tpl files inserting javascript code. i.e. I
modified tables.tpl in order to open a pop-up windows when user click
on the map with query tool.<br><br>The following code works fine in cartoweb 3.2 but not in cw3.4:<br>[...]<br>{foreach from=$tables item=group}<br>foreach from=$group->tables item=table}<br>{if $table->numRows > 0}<br>
<script language=javascript><br>
{literal}<br> strNomeTabella = '{/literal}{$table->tableTitle<div id="mb_0">}{literal}';<br> alert ('Test');<br> {/literal}<br></script><br> {foreach from=$table->columnTitles item=column}<br>
<script language=javascript><br> {literal}<br> var campo = '{/literal}{$column}{literal}';<br> {/literal}<br> </script><br> {/foreach}<br>[...]<br>
{/foreach}<br>{/foreach}<br><br>In cw3.4 it seems that javascript code is not active. Nothing is saved in variables and alert statement doesn't work.<br><br><br><br>Thank you very much for any help<br><span class="sg"><br>
<br>Valerio</span></div>