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
-----
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/
===============
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/
Project details
Release history Release notifications | RSS feed
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.6.tar.gz
(16.7 kB
view details)
File details
Details for the file djangocms-style-1.0.6.tar.gz
.
File metadata
- Download URL: djangocms-style-1.0.6.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e4c5c693723e6084f2be20e34f2cfe74bafdad828256fe4a61eecaf7d2b1449 |
|
MD5 | 0f3e988c232c40ed9cef2a49d337ef71 |
|
BLAKE2b-256 | df7c053357ee22104c757342242402859c93b962936c3154478ef3294bd2d7de |