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.1.tar.gz
(17.2 kB
view details)
File details
Details for the file djangocms-style-1.1.tar.gz
.
File metadata
- Download URL: djangocms-style-1.1.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a0c4a391aa9d4c8f3139a3c2693c4e3af997da1f0c76c287ab3fdbdc063df11 |
|
MD5 | 91736ecb4e591d1c11ffdd914957223f |
|
BLAKE2b-256 | 7644e38966b60fa6b4523e625302e94e605fcbdb49d62f83dd5dd49b45f9c8cf |