[mapserver-users] change header template via CGI
Jeff McKenna
jmckenna at gatewaygeomatics.com
Wed Feb 16 06:15:29 PST 2011
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
>
More information about the MapServer-users
mailing list