• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Display A Random Banner

Here is some template programming to define and randomize your banners:

This code works in any template. For randomizing banner advertisements you are probably working in one of the ad_ templates. For example:

Admin CP -> Appearance -> Templates -> ad_above_content

Use this code:

<xen:comment>DEFINE AND RANDOMIZE...
You do not have permission to view the full content of this resource. Log in or register now.
Jake Bunce
First release
Last update
5.00 star(s) 7 ratings

More resources from Jake Bunce

Latest reviews

That's awesome. As we shall see it's very useful and customizable. I don't know what to say except thanks. : ) However, it's just a template modification. I think, at least an add-on would be better. Thanks again.
Great. Thanks :)
Thanks a lot! :)
Excellent randomizer! Just what I was needing without needing an add-on.
Awesome! Just what I was looking for!
VERY nice share. Works perfectly. Who knew rotating ads would be so easy!? I didn't ==> Thanks so much Jake!
Simple and easy to implement. You cannot get any better than that.