skip to navigation
skip to content

Not Logged In

djangocms-style 1.0.6

Style Plugin for django CMS

Latest Version: 1.3

djangocms-style
===============

A Plugin for django CMS to add CSS classes to other plugins


Installation
------------

This plugin requires `django CMS` 2.4 or higher to be properly installed.

* In your projects `virtualenv`_, run ``pip install djangocms-style``.
* Add ``'djangocms_style'`` to your ``INSTALLED_APPS`` setting.
* Run ``manage.py migrate cmsplugin_style``.


Usage
-----

You can define styles in your settings.py:

```
CMS_STYLE_NAMES = (
    ('info', _("info")),
    ('new', _("new")),
    ('hint', _("hint")),
)
```

After that you can place other plugins inside this style plugin.
It will create a div with a class that was prior selected around this plugin.

Translations
------------

If you want to help translate the plugin please do it on transifex:

https://www.transifex.com/projects/p/django-cms/resource/djangocms-style/
 
File Type Py Version Uploaded on Size
djangocms-style-1.0.6.tar.gz (md5) Source 2013-07-20 16KB
  • Downloads (All Versions):
  • 252 downloads in the last day
  • 1529 downloads in the last week
  • 3813 downloads in the last month