Hi,<br><br>Sorry I have mistake when edit your searchresults.phtml, <br>I comments out the layer control array <sorry I didn't remember the line number>, <br>that's why the result's always shown the same attribute even in searchlist has report "8 Matches Returned".
<br>It impact to the hilite too <I don't know why>. But Now it's working..<br>Thanks for the advice...<br><br>Regards,<br><br>Ilham Adi A.<br><br><div><span class="gmail_quote">On 30/04/07, <b class="gmail_sendername">
Delfos, Jacob</b> <<a href="mailto:Jacob.Delfos@maunsell.com">Jacob.Delfos@maunsell.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Hi Ilham,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Sorry for my late reply. I was on
leave.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">There are a few possible reasons why the highlight would
not appear. It is possible you did not specify "HIGHLIGHT='TRUE'" in the
definition, but the most likely cause is that it does not have writing
permission or "folder creation permission" in your temporary directory. I have
set it up to dump the temporary shapefile in a dedicated folder. It didn't occur
to me that some people may have permission problems inside the temp folder.
</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">If this is the case, you'd have to edit two
files:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">in searchresults.phtml, line 401, get rid
of:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">."/queryresultdir"</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">and in download.php, line 13, also get rid
of:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">."/queryresultdir";</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Hopefully that will fix it. If not, please let me know
which PHP errors show up in your log.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">You say you don't want "queryresult" in the legend. Do you
mean "do not show an icon"?</font></span></div>
<div dir="ltr" align="left"><span></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">To hide the icon, comments out line 574 in
searchresults.phtml, which says:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">$queryclass->set("name", "Query
result"); </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">regards,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Jacob</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> Ilham Adi Afdillah
[mailto:<a href="mailto:ilham.adi@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">ilham.adi@gmail.com</a>] <br><b>Sent:</b> 24 April 2007
18:03<span class="q"><br><b>To:</b> <a href="mailto:chameleon@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">chameleon@lists.maptools.org</a><br></span><b>Cc:</b> Julien-Samuel
Lacroix<br><b>Subject:</b> Re: [Chameleon] Update Widget<br></font><br></div><div><span class="e" id="q_11240667dd42ef44_3">
<div></div>Hi Jacob, Julien,<br><br>I use MS4W 2.1 Package and Chameleon 2.4,
and my few problem was solve. For problem:<br>1. LocateByAttribute when using
Postgis Data,<br> Thanks to Jacob for the update widget, it
work except the hilite <br> didn't appears in my map (just
in my legend). Could you tell me how to <br> hilite my map
without appearing the layer 'Queryresult' in legend?, because it can be
done<br> using my earlier widget with shapefile data. <br>2.
Rectangular Queries, I used the widget zip file that exist in this milist.
It's work!<br>3. The QuickZoom still doesn't work..???<br>4. Ruler widget
didn't show the line again after >350 km when measure distance.
<br> It was solved by change the value of var $mnNumberOfPoints =
200 default is 100. <br> More value I give, the process take more
time, It isn't right? or there is another solution.<br><br>Here is my map file
looks like: <br>MAP<br><br> NAME
"BALI"<br> STATUS ON<br> SIZE 600 500 #520
420 <br> EXTENT 114.431625 -8.849258
115.711227 -8.061678 <br> SYMBOLSET
"../etc/symbol.sym"<br> FONTSET "../etc/fonts.txt"
<br> UNITS DD<br> IMAGETYPE
PNG<br> IMAGECOLOR 255 255 255<br>
TRANSPARENT FALSE<br><br>WEB<br> IMAGEPATH
"c:/ms4w/tmp/ms_tmp/"<br> IMAGEURL
"/ms_tmp/"<br> METADATA <br>
"show_in_legend" "1" <br>
END<br>END<br><br>REFERENCE<br> STATUS
ON<br> IMAGE "images/keymap.gif"<br> SIZE
120 74 <br> EXTENT 114.431625 -8.849258
115.711227 -8.061678<br> COLOR -1 -1
-1<br> OUTLINECOLOR 255 0 0
<br>END<br><br>QUERYMAP<br> STATUS ON<br>
COLOR 255 0 0<br> STYLE
HILITE<br>END<br><br>PROJECTION<br>
"init=epsg:32750"<br>END<br><br>LEGEND<br> KEYSIZE 18
12<br> STATUS ON<br>
LABEL<br> FONT "Verdana"
<br> TYPE TRUETYPE<br>
COLOR 0 0 0<br> SIZE
8<br> END<br>END<br><br>SCALEBAR<br> IMAGECOLOR 255
255 255<br> LABEL<br> COLOR 0 0 0
<br> SIZE SMALL<br> END<br> SIZE 150 5<br>
COLOR 255 255 255 <br> BACKGROUNDCOLOR 0 0 0<br> OUTLINECOLOR 0 0
0<br> UNITS KILOMETERS<br> INTERVALS 5<br> STATUS
ON<br>END<br><br>LAYER<br> NAME "Bali"<br>
METADATA<br> "DESCRIPTION" "Admin"
<br> "GROUP" "Polygon"<br> "LAYER"
"bali"<br> "SPATIALSEARCH" "kabupaten,
propinsi"<br> "SPATIALSEARCHLIST"
"kabupaten"<br> "RESULT_FIELDS" "kabupaten"
<br> "show_in_legend" "1"<br>
END<br> TYPE POLYGON<br> CONNECTIONTYPE
postgis<br> CONNECTION "host=localhost port=5432 dbname=***
user=*** password=***"<br> STATUS
DEFAULT<br> DATA "geom from bali"<br>
TEMPLATE "ttt"<br> LABELITEM
"kabupaten"<br> CLASS<br>
OUTLINECOLOR 0 0 0<br>
#OUTLINECOLOR 28 93 139<br> COLOR 0 120
220<br> #SYMBOL "dashed_long"
<br> #SIZE 1<br>
LABEL<br> FONT "sans"
#"fritqat"<br> TYPE
TRUETYPE<br> ANTIALIAS
TRUE<br> COLOR 0 0
0<br> OUTLINECOLOR 255
255 255<br> SIZE 6
<br> POSITION
CC<br> END<br> END<br>END<br><br><br>And this is
my QuickZoom statement:<br><br><!-- QUICK ZOOM --><br><td
align="center"><br><cwc2 type="QuickZoom" Label="" LabelPosition="0"
widgetclass="label" labelclass="label"> <br> <view
name="Pilih Lokasi ..."/><br> <view name="Kab. Badung"
minx="115.083840" miny="-8.849258" maxx="115.252533" maxy="-8.234078"
SRS="epsg:32750"/> <br> <view name="Kab. Tabanan"
minx="114.909699" miny="-8.6359743" maxx="115.216179" maxy="-8.237040"
SRS="epsg:32750"/><br> <view name="Kab. Jembrana"
minx=" 114.431625" miny="-8.463202" maxx="114.933952" maxy="-8.160602"
SRS="epsg:32750"/><br> <view name="Kab. Karang asem"
minx="115.389915" miny="- 8.550742" maxx="115.711227" maxy="-8.170411"
SRS="epsg:32750"/><br> <view name="Kab. Bangli"
minx="115.235002" miny="-8.524396" maxx="115.458557 " maxy="-8.143510"
SRS="epsg:32750"/><br> <view name="Kab. Klungkung"
minx="115.351547" miny="-8.819542" maxx="115.628586" maxy="-8.462596"
SRS="epsg:32750"/> <br> <view name="Kab. Buleleng"
minx="114.432274" miny="-8.379020" maxx="115.459536" maxy="-8.061678"
SRS="epsg:32750"/><br> <view name="Kab. Gianyar"
minx=" 115.222916" miny="-8.645082" maxx="115.369863" maxy="-8.313276"
SRS="epsg:32750"/><br> <view name="Kota Denpasar"
minx="115.173248" miny="-8.746707 " maxx="115.281966" maxy="-8.588169"
SRS="epsg:32750"/><br></cwc2><br></td> <br><br>Thanks for your
help.<br><br>Regards,<br><br>Ilham Adi A.<br><br><br>
<div><span class="gmail_quote">On 24/04/07, <b class="gmail_sendername">Julien-Samuel Lacroix</b> <<a href="mailto:jlacroix@mapgears.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jlacroix@mapgears.com
</a>>
wrote:</span>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>Where
did you take the package? Is a MS4W, tarball or FGS
package?<br><br>Julien<br><br>Ilham Adi Afdillah wrote:<br>>
Hi,<br>><br>> I have update my Chameleon using the latest release
<Chameleon 2.4.1>, <br>> but I still got problem,<br>> it's look
like I need to update my widget due to the issue :<br>> 1.
LocateByAttribute when using Postgis Data<br>> 2. Rectangular
Queries.<br>> 3. When using postgis data QuickZoom widget doesn't work
too. <br>> 4. Ruler widget didn't show the line again after >350 km
when measure<br>> distance.<br>> Can someone give me the
file?.<br>><br>> Regards,<br>><br>> Ilham Adi
A.<br>><br>><br>>
------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>>
Chameleon mailing list<br>> <a href="mailto:Chameleon@lists.maptools.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Chameleon@lists.maptools.org</a><br>>
<a href="http://lists.maptools.org/mailman/listinfo/chameleon" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.maptools.org/mailman/listinfo/chameleon</a><br><br>--<br>Julien-Samuel
Lacroix<br>Mapgears<br><a href="http://www.mapgears.com/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.mapgears.com/</a><br></blockquote></div><br></span></div></blockquote></div>
<table><tbody><tr><td><span class="q"></span><td bgcolor="#ffffff"><font color="#000000">This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.
<br>
</font></td></td></tr></tbody></table></blockquote></div><br>