Hi,
You can use globals inside of your footers, so you could add a global:
random_add =>
sub {
my $tags = shift;
my @ads = ('Ad1', 'Ad2', 'Ad3');
return $ads[rand @ads];
}
and then put <%random_add%> as the contents of the footer. That will be compltelty random, you would need to tweak the above code if you want to do anything more sophisticated.
Cheers,
Alex
--
Gossamer Threads Inc.
You can use globals inside of your footers, so you could add a global:
random_add =>
sub {
my $tags = shift;
my @ads = ('Ad1', 'Ad2', 'Ad3');
return $ads[rand @ads];
}
and then put <%random_add%> as the contents of the footer. That will be compltelty random, you would need to tweak the above code if you want to do anything more sophisticated.
Cheers,
Alex
--
Gossamer Threads Inc.