[Cartoweb-users] hide query icon
Claire Chastagnol
chastagnol.claire at wanadoo.fr
Wed Sep 17 11:21:11 EDT 2008
Hi all!
On this purpose, is it possible to desactivate and supress some tools from the edit plugin toolbar?
Thanks.
Claire
> Message du 17/09/08 15:18
> De : "Oliver Christen"
> A : "Lauber Christoph" , cartoweb-users at lists.maptools.org
> Copie à :
> Objet : Re: [Cartoweb-users] hide query icon
>
>
> Hi christoph
>
> to deactivate a tool, imply set a negative weight in the related plugin .ini
>
> for example, weightQueryByBbox = -1
>
> see
> http://www.cartoweb.org/doc/cw3.5/xhtml/user.config.html#user.config.plugins.order
>
> the problem you have is because the tool is still considered active from the
> point of view of the javascript and when you switch tool the javascript that
> handle the tools try to deactivate the tool you have in your toolbar 3, but
> since you commented it, it wont find it and the tool will not get switched
> correctly, hence you are stuck to zoom in.
>
> regards
> Oliver
>
> ----- Original Message -----
> From: "Lauber Christoph"
> To:
> Sent: Wednesday, September 17, 2008 2:38 PM
> Subject: [Cartoweb-users] hide query icon
>
>
> > Hi list
> >
> > This might be a silly question, but I don't find the answer.
> > I want to make a cartoweb application where the user is not allowed to
> > make a query. Therefore I would simply like to hide the query icon. But
> > when I comment the line --include file="toolbar.tpl" group="3"-- (in
> > query.ini I set groupPlugin=3) in my cartoclient.tpl file the pan and zoom
> > functions get broken. They just do 'zoom in' all the time.
> >
> >
> > Thanks for help.
> >
> > Christoph
> >
> > _______________________________________________
> > Cartoweb-users mailing list
> > Cartoweb-users at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/cartoweb-users
> >
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080917/cad50a8e/attachment.html
More information about the Cartoweb-users
mailing list