A simple Radiant extension that supports randomly rotating banners on pages.
Ruby JavaScript
Switch branches/tags
Nothing to show
Pull request Compare This branch is 11 commits ahead, 4 commits behind seancribbs:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db/migrate
lib
public
spec
.gitmodules
README.textile
Rakefile
banner_rotator_extension.rb

README.textile

Banner Rotator

A simple extension to support rotating banners on pages. Banners can be turned on and off via the page-editing interface and associated with any number of pages. Banners, when not directly associated with a page, are inherited from the nearest ancestor page. Banners are randomly selected based on weights between 1 and 10 (1 being least likely, 10 most likely to appear).

The focus is on image-based banners that work by specifying a background and/or foreground image and a link.

Currently this does not support file uploads, and should be used in concert with an asset management extension if direct file upload access is not available.

For the moment, use this fork of the banner rotator if you are on radiant 7.0

To do

  • Make banners and banner placements draftable via the concurrent_draft extension

Contributors

  • Sean Cribbs
  • Andrew vonderLuft
  • Jeffrey Jones

Acknowledgments

Thanks to Con-way for funding the initial development of this extension.