Gossamer Forum
Home : Products : Gossamer Links : Discussions :

SSIs in templates

Quote Reply
SSIs in templates
We are currently customising the Luna template set to match the look and feel of our site. So far, so good - http://www.journalism.co.uk/directory

However, some pages appear to be dynamically created - eg http://www.journalism.co.uk/cgi-bin/directory/user.cgi?url=http%3A%2F%2Fwww.journalism.co.uk%2Fcgi-bin%2Fdirectory%2Fadd.cgi&from=add

The footer part of our own template contains two server-side includes and these do not work when you view dynamically created content. Is there any way round this? Our template is used elsewhere and I don't really want to create a dedicated template just for the directory.
Quote Reply
Re: [johncthompson] SSIs in templates In reply to
There's no easy way of doing it, but one way would be to use a module like CGI::SSI to parse the include and return the output to the template.

Adrian