<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE type=text/css>DIV {
MARGIN: 0px
}
</STYLE>
<META content="MSHTML 6.00.2900.3243" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=026315919-09012008><FONT face=Arial color=#0000ff size=2>Please
share the html snippets used for each of your templates and we can show you how
to swap them around.</FONT></SPAN></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> UMN MapServer
Users List [mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>william
paul<BR><B>Sent:</B> Wednesday, January 09, 2008 1:55 PM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> Re: [UMN_MAPSERVER-USERS]
itemnquery problems<BR><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Please,
can you give an example (Rich or Siki)?</DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">I
am using the same template for mapserver as for displaying the query
results</DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">Thank
you</DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"> </DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">William<BR><BR></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">-----
Original Message ----<BR>From: Richard Greenwood
<richard.greenwood@GMAIL.COM><BR>To:
MAPSERVER-USERS@LISTS.UMN.EDU<BR>Sent: Wednesday, January 9, 2008 3:30:54
PM<BR>Subject: Re: [UMN_MAPSERVER-USERS] itemnquery problems<BR><BR>On Jan 9,
2008 5:37 AM, william paul <<A href="mailto:williampaul28@yahoo.com"
ymailto="mailto:williampaul28@yahoo.com">williampaul28@yahoo.com</A>>
wrote:<BR>><BR>> Hi:<BR>> I am using itemnquery mode to display
results obtained from a database<BR>> query. The url looks
like:<BR>><BR>>
...mode=itemnguery&qlayer=qlayer&qitem=fieldtoquery&qstring=/value1|value2|valuen/<BR>><BR>>
The spatial extent of the image is correct and I can see all the
features<BR>> selected, but the entire web page page is displayed 14
times<BR>><BR>> Any help is appreciated<BR>><BR>> Thank
you<BR>><BR>> William<BR><BR>Most likely you got 14 results, so
MapServer drew 14 maps for you. If<BR>you want all 14 results shown in a
single map, try moving your<BR>template definition from TEMPLATE to HEAD, and
using an empty file for<BR>the TEMPLATE.<BR><BR>Rich<BR><BR>-- <BR>Richard
Greenwood<BR><A href="mailto:richard.greenwood@gmail.com"
ymailto="mailto:richard.greenwood@gmail.com">richard.greenwood@gmail.com</A><BR><A
href="http://www.greenwoodmap.com/"
target=_blank>www.greenwoodmap.com</A><BR></DIV>
<DIV
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR></DIV></DIV><BR>
<HR SIZE=1>
Never miss a thing. <A
href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs">Make Yahoo
your homepage.</A> </BLOCKQUOTE></BODY></HTML>