Skip to main content

This package contains a number of basic plugins to kick start your DjangoCMS project, such as Twitter Bootstrap navbar and buttons, Facebook and Twitter buttons, a Style Modifier, Google Analytics tracking code, Google fonts, meta tags and resizeable pictures.

Project description

=====
cmsplugin-rt
=====

This package contains a number of basic plugins to kick start your Django-CMS project.
Some of them use classes appropriate for Twitter Bootstrap, but my intention is to broaden this.

button a Twitter Bootstrap button, with html special characters allowed
text_minimal_markup plain text with an h2 heading, with links and email addresses activated and html special codes allowed, e.g. ©
resizeable_picture a subclass of cms.plugin.picture which allows absolute or % width and height
navbar a Twitter Bootstrap navbar, with self-calculating links to the home page's children, and quick links for admins
self_calc_pagination shows pagination links where pages after 1 are all the children of page 1 (tailored to Twitter Bootstrap)
hbar a simple html <hr> element
spacer adds a .spacer div, which I style as clear:both, to switch off float:left and float:right

facebook_button lots of options allowed
twitter_button lots of options allowed
mailchimp_form an inline mailchimp form (tailored to Twitter Bootstrap)
google_font link to Google fonts (use them via the style modifier plugin)
google_analytics include tracking code for Google analytics

style_modifier a plugin that lets the admin change the css directly (tailored to Twitter Bootstrap)

meta_icons include favicon and Apple touch icons in your header
open_graph include open-graph tags in your header

Detailed documentation is in the "docs" directory.

Requirements
--------------

I built these using:

* Django 1.4
* Django-CMS 2.3.5

Quick start
-----------

1. Add plugins from cmsplugin-rt to your INSTALLED_APPS setting like this::

INSTALLED_APPS = (
...
'cmsplugin_rt.button',
'cmsplugin_rt.facebook_button',
'cmsplugin_rt.google_analytics',
'cmsplugin_rt.google_font',
'cmsplugin_rt.hbar',
'cmsplugin_rt.mailchimp_form',
'cmsplugin_rt.meta_icons',
'cmsplugin_rt.navbar',
'cmsplugin_rt.open_graph',
'cmsplugin_rt.resizeable_picture',
'cmsplugin_rt.self_calc_pagination',
'cmsplugin_rt.spacer',
'cmsplugin_rt.style_modifier',
'cmsplugin_rt.text_minimal_markup',
'cmsplugin_rt.twitter_button',
)

2. Run `python manage.py syncdb` (or use `python manage.py migrate` if you are using South) to create the models.

3. Add the plugins to your CMS pages in the admin panel.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cmsplugin-rt, version 0.1.5
Filename, size File type Python version Upload date Hashes
Filename, size cmsplugin-rt-0.1.5.macosx-10.7-intel.exe (121.1 kB) File type Windows Installer Python version any Upload date Hashes View hashes
Filename, size cmsplugin-rt-0.1.5.tar.gz (22.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page