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.
* If using Django 1.7 add ``'djangocms_syle': 'djangocms_syle.migrations_django',``
to ``MIGRATION_MODULES`` (or define ``MIGRATION_MODULES`` if it does not exists);
when django CMS 3.1 will be released, migrations for Django 1.7 will be moved
to the standard location and the south-style ones to ``south_migrations``.
* 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.4.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

djangocms_style-1.4-py27-none-any.whl (111.8 kB view details)

Uploaded Python 2.7

File details

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

File metadata

File hashes

Hashes for djangocms-style-1.4.tar.gz
Algorithm Hash digest
SHA256 b5bbc7d3be4d184bde657ca429ecc869e76d9545e7a585baf53e151515445dc9
MD5 36ad546733591c690f176fe402ee97c9
BLAKE2b-256 9decf585380a67e54a3e1b772eda5b8353efb2bf4eba1773f17688c82ac9d2d6

See more details on using hashes here.

File details

Details for the file djangocms_style-1.4-py27-none-any.whl.

File metadata

File hashes

Hashes for djangocms_style-1.4-py27-none-any.whl
Algorithm Hash digest
SHA256 a46ae66bf2be7452eec1e530f9553b674b3d4a1d1f85aca2c5c8fec584f63d18
MD5 ea31d684f128f142d8ad1f51e27d245e
BLAKE2b-256 b5bcda9da3f2487a0e982c87011f1cb5b27e42bee71a5c93f0884cdf57fe766e

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