Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Inserting Banner Ads (sorta complicated)

Quote Reply
Inserting Banner Ads (sorta complicated)
I'm going to be running GM for multiple domains (and once I'm done customizing it will be running under mod_perl). What I want is to run a banner ad at the top of each page. The banner ad doesn't run under mod_perl yet, but I expect it will shortly, in case that needs to be handled differently. But, because I'm running multiple domains, what I've done in all my templates is include a few lines like this
<%include site_header.htm%>
<%include left_links.htm%>
etc.. in all my templates, so I can modify one file whenever I need to make a change, and not have to edit 30 or 40 templates for each domain. However, I want to call my banner from this new site_header.htm template that I created.

I'm getting lost in the code for where to do a system call to the banner ad program. I've been trying to go through Parser.pm, mostly in sub _parse_tags, but if anyone has any suggestions or code to share, I'd be most appreciative.
Subject Author Views Date
Thread Inserting Banner Ads (sorta complicated) JerryP 2999 Feb 27, 2002, 1:56 AM
Thread Re: [JerryP] Inserting Banner Ads (sorta complicated)
Alex 2930 Feb 27, 2002, 2:08 AM
Thread Re: [Alex] Inserting Banner Ads (sorta complicated)
JerryP 2919 Feb 27, 2002, 9:10 AM
Thread Re: [JerryP] Inserting Banner Ads (sorta complicated)
Paul 2932 Feb 27, 2002, 9:31 AM
Thread Re: [RedRum] Inserting Banner Ads (sorta complicated)
JerryP 2910 Feb 27, 2002, 11:15 AM
Thread Re: [JerryP] Inserting Banner Ads (sorta complicated)
Alex 2902 Feb 27, 2002, 3:05 PM
Post Re: [Alex] Inserting Banner Ads (sorta complicated)
JerryP 2887 Feb 27, 2002, 11:23 PM
Post Re: [Alex] Inserting Banner Ads (sorta complicated)
JerryP 2864 Mar 1, 2002, 2:43 AM