<!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">
Hello,<br>
<br>
you have to make sure that the javascript part of the plugin
(search.ajax.js) is included.<br>
<br>
Make sure you have a line like above in
/templates/cartoclient_ajaxHeader.tpl:<br>
{if $search_active|default:''}<script type="text/javascript"
src="{r type=js
plugin=search}Search.ajax.js{/r}"></script>{/if}<br>
<br>
If you do, here is a possible cause:<br>
your cartoclient.tpl is too old: it includes ajax related script in the
head instead of doing a smarty-include: {inlude
file="cartoclient_ajaxHeader.tpl"}. If this is the case, use the
cartoclient_ajaxHeader.tpl:<br>
- take an up-to-date cartoclient.tpl and see where to remove ajax
scripts inclusion, and place the smarty {include} instead.<br>
<br>
Hope this helps,<br>
Damien<br>
<br>
<br>
MUTOTA wrote:
<blockquote cite="mid20070518150404.M7002@students.polytechnic.edu.na"
type="cite">
<pre wrap="">Hallo List!
I am getting an error when clicking on the search button
Error:
AjaxHandler.doAction(): object AjaxPlugins.Search not found.
In have comfirmed -I have loaded the search.ini and all ather neccessary
codes in the cartoclient.tpl
I moved to cvs version. before that the search function was working
what could be the possiblity of causing the error?Pleas help
Thanx in advence
Best regards,
Andreas Mtota
_______________________________________________
Cartoweb-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
.signature {
font-family:verdana,helvetica,sans-serif;
font-size:0.8em;
line-height: 1.25em;
color: #9999BB;
width: 27em;
}
.signature div {
padding: 0.22em;
margin-bottom: 0.5em;
margin-top: 0.5em;
border-bottom: 1px dotted lightgray;
background-color: #FCFCFF;
}
.signature .attention {
background-color: #FFFAFA;
color: #FFBBBB;
font-size: 0.8em;
font-weight: bold;
}
.header {
}
-->
</style>
<div class="signature">
<div> <span style="font-weight: bold;">Camptocamp SA</span><br>
Damien Corpataux<br>
PSE A<br>
CH-1015 Lausanne<br>
</div>
<div> +41 21 619 10 22 <span class="header">(Direct)</span><br>
+41 21 619 10 10 <span class="header">(Centrale)</span><br>
+41 21 619 10 00 <span class="header">(Fax)</span><br>
</div>
<div style="color: rgb(102, 204, 102);"> <span
style="position: relative; top: -3px; font-family: Webdings; font-size: 24pt;">P</span>
<span style="">Please consider the environment <br>
Do you really need to print this email?</span>
</div>
</div>
</div>
</body>
</html>