Gossamer Forum
Home : Products : Gossamer Links : Pre Sales :

Add SSI Include in dynamic generated Pages

Quote Reply
Add SSI Include in dynamic generated Pages
Hi,
i want to add a SSI Include to the dynamic generated Pages(for banner Ads). Is this possible. Thanks for your help.

Dierk

Quote Reply
Re: Add SSI Include in dynamic generated Pages In reply to
It is possible, but will depend on your SSI call.

I used to used WebAdverts, and for that I added a new sub to the bottom of one of the scripts and called it by breaking the printing of the page with ~; and &inserting the ad by calling the sub, and then setting the page print going again with print qq~.

I now use AdvertPro and have a small routine that uses use LWP::Simple; and the get method to implement the ad-call. I pass this to a variable, which is then passed to the template for display.

Hope this helps.

All the best
Shaun