<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi<br>
<br>
Did you also add the new layer you created in the .map file in the
NAMEOFTHEPROJECT.ini.<br>
<br>
Here is the exemple for one of my layer there<br>
<br>
mapInfo.initialMapStates.default.layers.couverture_du_sol.selected =
true<br>
<br>
If you don't specify them there also, I think it does not work.<br>
<br>
However, I am just using the program and I am not a developper or
anything like that so this could be a stupid remark.<br>
<br>
Anyway, say if it was done in your case<br>
<br>
Véronique<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:giuseppe.derossi@email.it">giuseppe.derossi@email.it</a> a écrit :
<blockquote cite="mid74691ec1c905575dd9b53b47b2efebdd@83.187.229.21"
type="cite">
<pre wrap="">Hi Veronique,
in my last test I put my data in democw3, I changed the .map and layer.ini
and performed some little changes too. I've "compiled" the project, then if
I select all the items in the query folder such as Union, Attributes and so
on, after selecting the area where there is a sensible point, I get only the
name "Query" under the map but no other result has been shown. In democw3,
the cartoclient.tpl should be ok, infact if I use it with original data the
query plug in works fine.
I've compared the .dbf files in both situation and they are similar....
What is strange to me is that if I put a wrong name as columns of data to be
returned in metadata, no error is returned.
what about ?
thanks in advance and best regards
Giu
        --------- Original Message --------
        Da: Véro Herzl - Bluewin <a class="moz-txt-link-rfc2396E" href="mailto:veroh@bluewin.ch"><veroh@bluewin.ch></a>
        To: Cartoweb_Mailing_List <a class="moz-txt-link-rfc2396E" href="mailto:cartoweb-users@lists.maptools.org"><cartoweb-users@lists.maptools.org></a>
        Oggetto: Re : query plugin
        Data: 28/04/07 11:05
        
        >
</pre>
<blockquote type="cite">
<pre wrap="">
Hi,
Just a question, did you change your cartoclient.tpl (the template file
which is in the directory template of the project).
If not, maybe you should add the fact that a table_result should appear
somewhere on your webpage.
It should be something like that :
{if $selection_result|default:''}
{$selection_result}
{/if}
{if $query_result|default:''}
{$query_result}
{/if}
{if $tables_result|default:''}
<div id="tables_result">
{$tables_result}
</div>
{/if}
Look in the cartoclient.tpl of the different projects like domePlugins
to see other example of the cartoclient.tpl
Be careful that if you have ajax on or no, then the stuff you got to put
in the cartoclient.tpl for the table result is not the same. The example
upper is if you DON'T have ajax on.
On the contrary, if you got ajax on, then it is different (sorry but I
don't got the project with ajax right here, but if you did download the
demoCW3 with cvs, then you should got the template with ajax I guess.
Well, if this helps, good. If not, maybe a bit more information ?
Anyway as they always said at some point in the mail on this forum,
don't forget to run the cw3setup.php. including with the --clean option.
Véronique
</pre>
</blockquote>
<pre wrap=""><!----> --
Email.it, the professional e-mail, gratis per te: <a class="moz-txt-link-freetext" href="http://www.email.it/f">http://www.email.it/f</a>
Sponsor:
Lo sai che hai un tesoro in soffitta? Quello che non serve più a te, può
servire agli altri.
Vendi GRATIS ciò che vuoi con AdBoom.it
Clicca qui: <a class="moz-txt-link-freetext" href="http://adv.email.it/cgi-bin/foclick.cgi?mid=6418&d=20070428">http://adv.email.it/cgi-bin/foclick.cgi?mid=6418&d=20070428</a>
</pre>
</blockquote>
<br>
</body>
</html>