Gossamer Forum
Quote Reply
Globals
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. Shocked
(Dont blame me if I'm wrong!)
Subject Author Views Date
Thread Globals Paul 6503 Dec 26, 2000, 10:49 AM
Thread Re: Globals
pugdog 6384 Dec 26, 2000, 11:58 AM
Thread Re: Globals
Paul 6377 Dec 26, 2000, 12:06 PM
Thread Re: Globals
pugdog 6371 Dec 26, 2000, 12:36 PM
Post Re: Globals
Paul 6367 Dec 26, 2000, 12:51 PM
Post Re: Globals
Paul 6366 Dec 26, 2000, 12:59 PM
Thread Re: Globals
ericho 6369 Dec 26, 2000, 1:21 PM
Thread Re: Globals
Paul 6383 Dec 26, 2000, 1:27 PM
Thread Re: Globals
pugdog 6366 Dec 26, 2000, 9:19 PM
Post Re: Globals
pugdog 6357 Dec 26, 2000, 9:37 PM
Post Re: Globals
Paul 6339 Dec 27, 2000, 4:37 AM
Thread Re: Globals
Paul 6351 Dec 27, 2000, 4:40 AM
Thread Re: Globals
pugdog 6352 Dec 27, 2000, 4:51 AM
Thread Re: Globals
Paul 6343 Dec 27, 2000, 4:56 AM
Thread Re: Globals
Alex 6352 Dec 27, 2000, 12:42 PM
Post Re: Globals
Paul 6345 Dec 27, 2000, 12:46 PM
Post Re: Globals
pugdog 6314 Dec 27, 2000, 5:28 PM