[Geomoose-users] Problem with footer in select.php

Brent Fraser bfraser at geoanalytic.com
Thu Aug 30 17:11:53 PDT 2012


Dean,

   I think the path is relative to the PHP folder since the select 
service target is select.php.

Best Regards,
Brent Fraser

On 8/30/2012 2:56 PM, Anderson, Dean wrote:
> So...
> 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...
> 'itemquery_header' 'templates/header.html'
> 'itemquery_footer' 'templates/footer.html'
> 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.
> I am trying to finish this up to complete my query customization test 
> and documentation.
> Any ideas??
> Dean
>
>
> On Thu, Aug 30, 2012 at 11:55 AM, Anderson, Dean 
> <anderson.dean at co.polk.or.us <mailto:anderson.dean at co.polk.or.us>> wrote:
>
>     Brent
>     Adding <!-- MapServer Template --> to my HTML fixed it!
>     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.
>     THANKS!
>     Dean
>
>     On Thu, Aug 30, 2012 at 11:45 AM, Brent Fraser
>     <bfraser at geoanalytic.com <mailto:bfraser at geoanalytic.com>> wrote:
>
>         Dean,
>
>           Don't forget there's an [Identify] section in the
>         settings.in <http://settings.in/> for global header and footer.
>
>         And your footer.html may need Mapserver's magic string at the top:
>
>         <!-- MapServer Template -->
>
>         Best Regards,
>         Brent Fraser
>
>         On 8/30/2012 11:29 AM, Anderson, Dean wrote:
>>         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..
>>         1. Created a "select_footer.html" file in the
>>         maps\demo\parcels\templates directory.
>>         2. Added the reference to the Metadata section in parcel.map
>>         'select_footer' 'templates/select_footer.html'
>>         3. Cleared cache and ran demo - not display of footer stuff.
>>         4. Checked the select.php to see if I had my reference for
>>         the footer is correct. Found the line:
>>
>>         if($layer->getMetadata('select_footer')) {
>>           $layer->set('footer', $layer->getMetadata('select_footer'));
>>         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.
>>
>>         -- 
>>         Dean R Anderson
>>         IT Director
>>         Polk County
>>
>>
>>
>>         _______________________________________________
>>         Geomoose-users mailing list
>>         Geomoose-users at lists.osgeo.org  <mailto:Geomoose-users at lists.osgeo.org>
>>         http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
>
>     -- 
>     Dean R Anderson
>     IT Director
>     Polk County
>
>
>
>
> -- 
> Dean R Anderson
> IT Director
> Polk County
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120830/81db849c/attachment.html>


More information about the Geomoose-users mailing list