[mapserver-users] change header template via CGI

Richard Greenwood richard.greenwood at gmail.com
Wed Feb 16 09:25:51 EST 2011


Awesome, thanks!

Rich


On Wed, Feb 16, 2011 at 7:15 AM, Jeff McKenna
<jmckenna at gatewaygeomatics.com> wrote:
> Hi Rich,
>
> With MapServer >=5, try something like
> $map.web=header+templates/headerfull.html
>
> (I got this from:
> http://www.mapserver.org/cgi/controls.html#using-mapserver-version-5)
>
> -jeff
>
>
> --
> Jeff McKenna
> MapServer Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
>
> On 11-02-16 9:48 AM, Richard Greenwood wrote:
>>
>> Hello All -
>>
>> I need to change my HEADER and FOOTER templates in the CGI request so
>> I have added the following to the end of my URL:
>>     &map.web.header=templates/headerfull.html
>> and to my map file I have added:
>>     TEMPLATEPATTERN "."
>> but I get the error:
>>     loadWeb(): Unknown identifier. Parsing error near
>> (templates/headerfull.html):(line 1)
>>
>> Can anuone tell me what I'm doing wrong?
>>
>> Thanks,
>> Rich
>>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


More information about the mapserver-users mailing list