Skip to main content

Style Plugin for django CMS

Project description

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
-----

Youcan 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.0.0.tar.gz (5.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for djangocms-style-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0f29e4ec92a8ec44b24f49a0dce583708d04edb6fe8214afa1a8f9ee907c7eb3
MD5 c5cabd0dfd64cb38b8c8f00bcfe5d953
BLAKE2b-256 2c5e1d0c7527d3c3ff4b06c48b4310f615e23b3edf35d39a7dcaf8ee9c980407

See more details on using hashes here.

Provenance

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