Use the head and bottom template in the map

how to use

To make this example run, add HEADER and FOOTER keywords to the web.

WEB
HEADER    '../templates/header.html'
FOOTER    '../templates/footer.html'
... ...
END

Select the layer for Cities and click the Refresh button. Select "Retrieve Single Layer" or "Retrieve Multiple Layers" from "Map Mode" and click on one of the cities on the map.

View MapFile | View HTML template

Open the example

44    WEB44    WEB
tt45        HEADER "../maptmpl/example3_header.html"
46        FOOTER "../maptmpl/example3_footer.html"
45        TEMPLATE "to be replaced by map_web_template variable in section3.html"47        TEMPLATE "to be replaced by map_web_template variable in section3.html"