I added the following to SiteHTML.pm...
sub banner {
# --------------------------------------------------------
# Returns an advertisement.
#
my $ssi = "<!--# include virtual=\"/cgi-bin/bms/adcycle.cgi?delivery=SSI&group=1\" --";
return "$ssi";
}
and then added a global called <%banner%> with the code...
sub {
&Links::SiteHTML::banner();
I added the <%banner%> tag to one of my templates but nothing shows up, but when I look in the code it says...
<!--# include virtual="/cgi-bin/bms/adcycle.cgi?delivery=SSI&group=1" --
What am I doing wrong?
(Note: The <%banner%> tag is on a CGI generated page. I also left out the end ">" in the SSI tags because this forum hides the code if you add it.)
Paul Wilson.
(Dont blame me if I'm wrong!)
sub banner {
# --------------------------------------------------------
# Returns an advertisement.
#
my $ssi = "<!--# include virtual=\"/cgi-bin/bms/adcycle.cgi?delivery=SSI&group=1\" --";
return "$ssi";
}
and then added a global called <%banner%> with the code...
sub {
&Links::SiteHTML::banner();
I added the <%banner%> tag to one of my templates but nothing shows up, but when I look in the code it says...
<!--# include virtual="/cgi-bin/bms/adcycle.cgi?delivery=SSI&group=1" --
What am I doing wrong?
(Note: The <%banner%> tag is on a CGI generated page. I also left out the end ">" in the SSI tags because this forum hides the code if you add it.)
Paul Wilson.

(Dont blame me if I'm wrong!)