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

Display A Random Banner

Template code to define and randomize banners.

  1. Jake Bunce
    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:

    Code:
    <xen:comment>DEFINE AND RANDOMIZE...
    You do not have permission to view the full content of this resource.

Recent Reviews

  1. Eagle
    Eagle
    5/5,
    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.
  2. Roberto Bilić
    Roberto Bilić
    5/5,
    Great. Thanks :)
  3. japersonal
    japersonal
    5/5,
    Thanks a lot! :)
  4. MichaelB
    MichaelB
    5/5,
    Excellent randomizer! Just what I was needing without needing an add-on.
  5. Jefferson Filho
    Jefferson Filho
    5/5,
    Awesome! Just what I was looking for!
  6. MsJacquiiC
    MsJacquiiC
    5/5,
    VERY nice share. Works perfectly. Who knew rotating ads would be so easy!? I didn't ==> Thanks so much Jake!
  7. Big Dan
    Big Dan
    5/5,
    Simple and easy to implement. You cannot get any better than that.