Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Python
branch: master

Merge branch 'release/0.0.4'

* release/0.0.4:
  version bump to 0.0.4
  added LocalBanner (serving a local flash file instead of a google ad)
latest commit 37a6b155c1
@stefanfoulis stefanfoulis authored

README.rst

cmsplugin-banner ===

the default settings are:

the (css) class choices CMSPLUGIN_BANNER_STYLE_CHOICES = ( ('default','default'), )

add "cmsplugin_banner.context_processors.plugin_ad_slots" to TEMPLATE_CONTEXT_PROCESSORS

Setup for Google Ads: * load googles javascript somewhere: <script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js"></script> * initialize the slots somewhere in <head> by including cmsplugin_banner/header_include.html. This assumes you also add <script type="text/javascript">GA_googleFetchAds();</script> to head and have a context variable called AD_ACCOUNT_IDENTIFIER with the google ad account id.

Something went wrong with that request. Please try again.