We have 2 Questions, both involving the search tool settings within
js_custom.php:
1.) Can you perform 2 different searches on 2 separate fields within a
single layer? When I enter the following code into the search list
within the js_custom.php file:
searchList['anomaly_flag'] = new Array('<?php echo _("Anomaly by
Utility") ?>', '#UTIL_ID', '<?php echo _("Utility ID") ?>','');
searchList['anomaly_flag'] = new Array('<?php echo _("Anomaly by Event")
?>', '#EVENT_ID', '<?php echo _("Event ID") ?>','');
...only the second search is available. Do I have to create two separate
layers to perform a search such as this?
2.) In past versions of p.mapper (we are using 1.2.0 currently) we have
performed one search with multiple criteria within a layer. For instance
a house number and a street. The code looked like this within the
search.phtml file:
case "addresses":
echo("<td>". _("House Number") ." </td> \n");
echo("<td><INPUT TYPE=text NAME=\"HOUSE\" SIZE=15></td>
\n");
echo("<td>". _("Street") ." </td> \n");
echo("<td><INPUT TYPE=text NAME=\"#STREET\" SIZE=15></td>
\n");
echo("<td><INPUT TYPE=hidden NAME=\"qlayer\"
VALUE=\"addresses\"></td> \n");
break;
How do we perform this type of search in the newer versions of p.mapper,
now that the search code is within the js_custom.php file?
Armin...keep up the great work...PMAPPER is wonderful!!!!
Tony Gray, CPG
WTH Technology
email: tgray at wthengineering.com <mailto:tgray at wthengineering.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://faunalia.it/pipermail/pmapper-users/attachments/20060420/3caee2a1/attachment.htm