It uses a system of html templates containing special tags like <!--cgi:menu_top-->, which are then replaced by cgi before the output is sent to a browser.
Throughout my site I use SSI to add top and bottom menus to every page (menu_top.inc and menu_bottom.inc). But with html templates for this script SSI commands do not work because cgi output is not parsed through SSI.
Do you know how to modify the script so that it adds my menu_top.inc and menu_bottom.inc html content to tamplate pages marked with <!--cgi:menu_top--> and <!--cgi:menu_top--> tags?
Html templates files are:
add.html ($TEMPLATE_ADD_MAIL),
remove.html ($TEMPLATE_REMOVE_PAGE)
and error.html ($TEMPLATE_ERROR_PAGE)
Thanks for any help
[edited by: coopster at 4:27 pm (utc) on Sep. 6, 2005]
[edit reason] removed code/email TOS [webmasterworld.com] [/edit]
It's possible to do it, but it will take some major rewriting of your subscription script. You'll have to add a couple of new tags similar to that <!--cgi:menu_top--> tags to the html templates and then subroutines to the script to process these tags. The subroutines could open your menu_top.inc and menu_bottom.inc files and output them to the browser.