Skip to main content

Style Plugin for django CMS

Project description

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

Installation

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

  • In your projects virtualenv, run pip install djangocms-style.

  • If using Django 1.6 and South < 1.0.2 add 'djangocms_style': 'djangocms_style.south_migrations', to SOUTH_MIGRATION_MODULES (or define SOUTH_MIGRATION_MODULES if it does not exist);

  • Add 'djangocms_style' to your INSTALLED_APPS setting.

  • Run manage.py migrate djangocms_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/

Project details


Download files

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

Source Distribution

djangocms-style-1.7.0.tar.gz (22.6 kB view details)

Uploaded Source

File details

Details for the file djangocms-style-1.7.0.tar.gz.

File metadata

File hashes

Hashes for djangocms-style-1.7.0.tar.gz
Algorithm Hash digest
SHA256 c259b1ff9771ca03b877a22e35c5319d92406713b1d160596676a43043a9deb9
MD5 f030bfc9a7d6cb0d164620e92a9e20f3
BLAKE2b-256 a0da2e817a2ba027ed5f35134a9fecb1113bebdf8fe7900366681851df85ed2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page