<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>how does the generated html look like ?</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=valerionoti@yahoo.it href="mailto:valerionoti@yahoo.it">Valerio
Noti</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=oliver.christen@camptocamp.com
href="mailto:oliver.christen@camptocamp.com">Oliver Christen</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, March 13, 2008 4:08
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cartoweb-users] Troubles
with tables.tpl</DIV>
<DIV><BR></DIV>yes it's what I did, I copied /coreplugins/tables/templates
folder in projects/MyProject/coreplugins/tables/templates folder, modified 3.4
template and inserted javascript code between {foreach}{/foreach}<BR><BR>thank
you<BR><BR>
<DIV><SPAN class=gmail_quote>2008/3/13, Oliver Christen <<A
href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</A>>:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<DIV bgcolor="#ffffff">
<DIV><FONT size=2>chance are pretty high the table template was modified
between 3.2 and 3.4 so I would suggest to compare a table templates in 3.4
and use it as a basis</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(0,0,0) 2px solid; MARGIN-RIGHT: 0px">
<DIV><SPAN class=e id=q_118a8a68b3b147c5_1>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal">-----
Original Message ----- </DIV>
<DIV
style="BACKGROUND: rgb(228,228,228) 0% 50%; FONT: 10pt arial; font-size-adjust: none; font-stretch: normal; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial"><B>From:</B>
<A title=valerionoti@yahoo.it
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:valerionoti@yahoo.it" target=_blank>Valerio Noti</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>To:</B>
<A title=cartoweb-users@lists.maptools.org
onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:cartoweb-users@lists.maptools.org"
target=_blank>cartoweb-users@lists.maptools.org</A> </DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Sent:</B>
Thursday, March 13, 2008 3:53 PM</DIV>
<DIV
style="FONT: 10pt arial; font-size-adjust: none; font-stretch: normal"><B>Subject:</B>
[Cartoweb-users] Troubles with tables.tpl</DIV>
<DIV><BR></DIV>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>}{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><BR><BR>Valerio</SPAN></DIV></SPAN></DIV>
<P></P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing list<BR><A onclick="return top.js.OpenExtLink(window,event,this)"
href="mailto:Cartoweb-users@lists.maptools.org"
target=_blank>Cartoweb-users@lists.maptools.org</A><BR><A
onclick="return top.js.OpenExtLink(window,event,this)"
href="http://lists.maptools.org/mailman/listinfo/cartoweb-users"
target=_blank>http://lists.maptools.org/mailman/listinfo/cartoweb-users</A><BR>
<P></P></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR><BR clear=all><BR>-- <BR>/*
<BR>Valerio Noti<BR>*/ </BLOCKQUOTE></BODY></HTML>