Re: [pmapper-users] help on custom query function

2007-11-01 Thread Mathphobia
Thanks very much, this is much better solution. I am wondering if you can add this function to the next release, add an entry to config.ini defaultQueryGroups=; Tuku Man On 11/1/07, Armin Burger <[EMAIL PROTECTED]> wrote: > > a slightly more flexible way would be to set a session variable at s

Re: [pmapper-users] help on custom query function

2007-11-01 Thread Armin Burger
a slightly more flexible way would be to set a session variable at start up, eg. at the end of /init/init.php, like $_SESSION["defaultQueryGroups"] = array("deflayer_1", "deflayer_2"); Then in /query/query.php in function function Query($map) below the lines } else { $thi

Re: [pmapper-users] help on custom query function

2007-11-01 Thread Tuku Man
I find a way to solve it, not a good way, but it works in query.php, add the following code to Function Query //quick and dirty fix if (! isset($this->querygroups["precip_q24"])){ $this->querygroups[]=""; } Thanks. On 11/1/07, Tuku Man <[EMAIL PROTECTED]> wro

[pmapper-users] help on custom query function

2007-11-01 Thread Tuku Man
Dear pmapper developer: I have a problem about query here, when user uses "Identify" tools, there are some layers which must be include in the query group, it doesn't matter users turn on them or not. I use the following code to do the job in one of small application, before call "@$theM