[Cartoweb-users] queries

Oliver Christen oliver.christen at camptocamp.com
Tue Feb 19 06:34:42 EST 2008


Hi

this is anothe speciality of demoCW3

in carto.js (of the project) you have 

  if (typeof myfolders != "undefined") { // not on page load
    if (toolid.indexOf('outline') != -1) {
      ontop(5);
    }
    else if (toolid.indexOf('query') != -1) {
      ontop(7);
    }
    else if (toolid.indexOf('pdfrotate') != -1) {
      ontop(2);
    }
  }

this activate some tab when some tool are selected
simply remove what you do not want.

regards
Oliver


> Hi!
> I'd like to use simply query plugin in order to get info from layer 
> without query tab and "displayExtendedSelection = true" in the ini file.
> 
> So, in my cartoclient.tpl I have only this:
> 
> {if $query_result|default:''}
>        {$query_result}
>        {/if}
> 
> 
> but I am not able to disable query tab so that when i type query_by_bbox 
> from the toolbar the query tab is enabled.
> 
> How can I do?
> 
> -- 
> Ing. Fabio D'Ovidio
> 
> iQuadro - Informatica e Innovazione s.r.l.
> Via C. Pisacane 23, Aversa (CE) - 81031
> Web : www.ii2.it
> Tel.: 081 197 57 600
> mail: fabiodovidio at gmail.com
> 
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>


More information about the Cartoweb-users mailing list