[Cartoweb-users] Problem for integrating geostat in a specific project
thomas gratier
thomas.gratier at gmail.com
Wed Mar 11 05:53:03 EST 2009
Hello,
I have created a specific project without Geostat.
I need now to integrate this fonctionnality in the project but there's a
matter.
The plugins is not found. With spy expression AjaxPlugins in firebug,
AjaxPlugins array doesn't contain geostat nor mapOverlay.
It works when I test my configuration in the demoGeostat project.
So in my own project, I cute and paste my geostat.ini (server and client
side) , I put in my mapfile the layer needed for geostat, I don't add new
layers in layers.ini, mapOverlay and geostat are enabled on client.ini and
myproject.ini
toolPickerOn =true on client.ini
Forget to say I do the change made in client.ini to client.ini.in
I put in the cartoclient_main.tpl (a tpl loaded after an authentification,
called just after cartoclient.tpl) the
**
{if $toolpicker_active|default:''}<link rel="stylesheet" type="text/css"
href="{r type=css}toolPicker.css{/r}" title="stylesheet" />{/if}
{if $geostat|default:''}<link rel="stylesheet" type="text/css" href="{r
type=css plugin=geostat}geostat.css{/r}" />{/if}
**
{if $geostat|default:''}<script type="text/javascript" src="{r type=js
plugin=geostat}Geostat.ajax.js{/r}"></script>{/if}
in the head part, and in the body part
<div id="folder8" class="folder">
{$geostat}
</div>
{if $toolpicker_active|default:''}
{include file="toolPicker.tpl"}
{/if}
I have reloaded the change with cw3setup.php, clean the project, empty the
cache in my browser and reloaded the page.
When I tick the box "Display geostatistics" I get the error below
Error: AjaxHandler.doAction(): object AjaxPlugins.Geostat not found. AJAX
action aborted
So as said previously, AjaxPlugins array don't call the geostat and
mapOverlay function.
I want to know which things can explain this state and how AjaxPlugins is
populated with plugins call.
Thanks for answers, advices
Regards
ThomasG
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20090311/780409b8/attachment.htm
More information about the Cartoweb-users
mailing list