<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hmm.  I must have been confused; sorry
      for the misdirection.<br>
      <br>
      I grepped the PHP folder for "itemquery" and found only:<br>
      <br>
      query.php:408:          $CONFIGURATION['query_header'] =
      $CONFIGURATION['itemquery_header'];<br>
      query.php:412:          $CONFIGURATION['query_footer'] =
      $CONFIGURATION['itemquery_footer'];<br>
      <br>
      which references the entries in the settings.ini.   So I'd guess
      there is no ability to have settings in the mapfile...<br>
      <pre class="moz-signature" cols="72">Best Regards,
Brent Fraser</pre>
      On 8/31/2012 7:42 AM, Anderson, Dean wrote:<br>
    </div>
    <blockquote
cite="mid:CADY2Fsvmk0epz=sjSm8=N5fuRg2cmOWabTZKmAYLyVKV9DBi9A@mail.gmail.com"
      type="cite">That would be strange and different then the other
      itemquery file is relative to the map file 
      <div><br>
      </div>
      <div>'itemquery'<span class="Apple-tab-span"
          style="white-space:pre"> </span>'templates/search_result.html' </div>
      <div><br>
      </div>
      <div><br>
        <br>
        <div class="gmail_quote">On Thu, Aug 30, 2012 at 5:11 PM, Brent
          Fraser <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:bfraser@geoanalytic.com" target="_blank">bfraser@geoanalytic.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Dean,<br>
                <br>
                  I think the path is relative to the PHP folder since
                the select service target is select.php.  <br>
                <pre cols="72">Best Regards,
Brent Fraser</pre>
                <div>
                  <div class="h5"> On 8/30/2012 2:56 PM, Anderson, Dean
                    wrote:<br>
                  </div>
                </div>
              </div>
              <div>
                <div class="h5">
                  <blockquote type="cite">
                    <div>So... </div>
                    <div> </div>
                    <div>Now I am testing the itemquery stuff for
                      query.php.  I made the header and footer work fine
                      using the settings.ini file (thanks for that
                      suggestion and am testing it pretty well). 
                      However, I think I should also be able to make
                      this work using the reference in the parcels.map
                      file with something like...</div>
                    <div> </div>
                    <div>'itemquery_header' 'templates/header.html'<br>
                      'itemquery_footer' 'templates/footer.html'</div>
                    <div> </div>
                    <div>Unfortunately this does not seem to work.  Am I
                      messing up?  When I have the files in the
                      itemquery directory (as referenced in the
                      settings.ini) file they work fine. However, when I
                      have them in templates directory for parcels they
                      do not work at all.  I am not sure what is up. </div>
                    <div> </div>
                    <div>I am trying to finish this up to complete my
                      query customization test and documentation. </div>
                    <div> </div>
                    <div> </div>
                    <div> </div>
                    <div>Any ideas??</div>
                    <div> </div>
                    <div>Dean </div>
                    <div><br>
                      <br>
                       </div>
                    <div class="gmail_quote">On Thu, Aug 30, 2012 at
                      11:55 AM, Anderson, Dean <span dir="ltr"><<a
                          moz-do-not-send="true"
                          href="mailto:anderson.dean@co.polk.or.us"
                          target="_blank">anderson.dean@co.polk.or.us</a>></span>
                      wrote:<br>
                      <blockquote style="BORDER-LEFT:#ccc 1px
                        solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex"
                        class="gmail_quote">
                        <div>Brent </div>
                        <div> </div>
                        <div>Adding <!-- MapServer Template --> to
                          my HTML fixed it!  </div>
                        <div> </div>
                        <div>I am aware of the stuff in the settings.ini
                          file and had that covered. I am testing the
                          customization part for the select tool and
                          wanted to test having a layer specific footer.
                        </div>
                        <div> </div>
                        <div>THANKS! </div>
                        <span><font color="#888888">
                            <div> </div>
                            <div>Dean </div>
                          </font></span>
                        <div>
                          <div>
                            <div> </div>
                            <div><br>
                               </div>
                            <div class="gmail_quote">On Thu, Aug 30,
                              2012 at 11:45 AM, Brent Fraser <span
                                dir="ltr"><<a moz-do-not-send="true"
                                  href="mailto:bfraser@geoanalytic.com"
                                  target="_blank">bfraser@geoanalytic.com</a>></span>
                              wrote:<br>
                              <blockquote style="BORDER-LEFT:#ccc 1px
                                solid;MARGIN:0px 0px 0px
                                0.8ex;PADDING-LEFT:1ex"
                                class="gmail_quote">
                                <div bgcolor="#FFFFFF" text="#000000">
                                  <div>Dean,<br>
                                    <br>
                                      Don't forget there's an [Identify]
                                    section in the <a
                                      moz-do-not-send="true"
                                      href="http://settings.in/"
                                      target="_blank">settings.in</a>
                                    for global header and footer.<br>
                                    <br>
                                    And your footer.html may need
                                    Mapserver's magic string at the top:<br>
                                    <br>
                                    <!-- MapServer Template --><br>
                                    <br>
                                    <pre cols="72">Best Regards,
Brent Fraser</pre>
                                    <div>
                                      <div>On 8/30/2012 11:29 AM,
                                        Anderson, Dean wrote:<br>
                                      </div>
                                    </div>
                                  </div>
                                  <blockquote type="cite">
                                    <div>
                                      <div>
                                        <div>I am not sure if this is a
                                          bug and I need to verify
                                          before submitting ticket.  I
                                          am not able to display a
                                          footer using the select
                                          service (select.php).  This is
                                          what I did..</div>
                                        <div> </div>
                                        <div>1. Created a
                                          "select_footer.html" file in
                                          the
                                          maps\demo\parcels\templates
                                          directory. </div>
                                        <div> </div>
                                        <div>2. Added the reference to
                                          the Metadata section in
                                          parcel.map <br>
                                          'select_footer'
                                          'templates/select_footer.html'</div>
                                        <div> </div>
                                        <div>3. Cleared cache and ran
                                          demo - not display of footer
                                          stuff. </div>
                                        <div> </div>
                                        <div>4. Checked the select.php
                                          to see if I had my reference
                                          for the footer is correct. 
                                          Found the line: </div>
                                        <div><br>
                                          if($layer->getMetadata('select_footer'))

                                          {<br>
                                            $layer->set('footer',
                                          $layer->getMetadata('select_footer'));</div>
                                        <div> </div>
                                        <div>Based on some simple tests
                                          it appears my file is being
                                          loaded in select.php, so I
                                          think it is being referenced
                                          correctly but does not
                                          display.  Any ideas on how to
                                          make this work would be much
                                          appreciated.  It is the last
                                          test I need to do in
                                          customizing the app for
                                          select. </div>
                                        <div> </div>
                                        <div><br>
                                          -- <br>
                                        </div>
                                        <div>Dean R Anderson </div>
                                        <div>IT Director </div>
                                        <div>Polk County</div>
                                        <br>
                                        <br>
                                        <fieldset></fieldset>
                                        <br>
                                      </div>
                                    </div>
                                    <pre>_______________________________________________
Geomoose-users mailing list
<a moz-do-not-send="true" href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a>
<a moz-do-not-send="true" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a>
</pre>
                                  </blockquote>
                                  <br>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                            <br clear="all">
                            <br>
                            -- <br>
                            <div>Dean R Anderson </div>
                            <div>IT Director </div>
                            <div>Polk County</div>
                            <br>
                          </div>
                        </div>
                      </blockquote>
                    </div>
                    <br>
                    <br clear="all">
                    <br>
                    -- <br>
                    <div>Dean R Anderson </div>
                    <div>IT Director </div>
                    <div>Polk County</div>
                    <br>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        <div>Dean R Anderson </div>
        <div>IT Director </div>
        <div>Polk County</div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>