Column Plugin for django CMS
Project description
djangocms-column
================
A Multi Column Plugin for django CMS.
Installation
------------
This plugin requires `django CMS` 2.4 or higher to be properly installed.
* In your projects `virtualenv`_, run ``pip install djangocms-column``.
* Add ``'djangocms_column'`` to your ``INSTALLED_APPS`` setting.
* If using Django 1.7 add ``'djangocms_column': 'djangocms_column.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_column``.
Usage
-----
There are 2 plugins: MultiColumn and Column
The first is MultiColumn that should be added to your placeholder conf.
MultiColumn only allows one plugin as a child: the Column plugin.
The Column plugin has a parameter width. With this parameter you can control the width
of the column.
You can add a new setting to your settings.py called `COLUMN_WIDTH_CHOICES`
the default is::
COLUMN_WIDTH_CHOICES = (
('10%', _("10%")),
('25%', _("25%")),
('33.33%', _('33%')),
('50%', _("50%")),
('66.66%', _('66%')),
('75%', _("75%")),
('100%', _('100%')),
)
but you can change that to fit your CSS grid framework or other purposes.
Translations
------------
If you want to help translate the plugin please do it on transifex:
https://www.transifex.com/projects/p/django-cms/resource/djangocms-column/
================
A Multi Column Plugin for django CMS.
Installation
------------
This plugin requires `django CMS` 2.4 or higher to be properly installed.
* In your projects `virtualenv`_, run ``pip install djangocms-column``.
* Add ``'djangocms_column'`` to your ``INSTALLED_APPS`` setting.
* If using Django 1.7 add ``'djangocms_column': 'djangocms_column.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_column``.
Usage
-----
There are 2 plugins: MultiColumn and Column
The first is MultiColumn that should be added to your placeholder conf.
MultiColumn only allows one plugin as a child: the Column plugin.
The Column plugin has a parameter width. With this parameter you can control the width
of the column.
You can add a new setting to your settings.py called `COLUMN_WIDTH_CHOICES`
the default is::
COLUMN_WIDTH_CHOICES = (
('10%', _("10%")),
('25%', _("25%")),
('33.33%', _('33%')),
('50%', _("50%")),
('66.66%', _('66%')),
('75%', _("75%")),
('100%', _('100%')),
)
but you can change that to fit your CSS grid framework or other purposes.
Translations
------------
If you want to help translate the plugin please do it on transifex:
https://www.transifex.com/projects/p/django-cms/resource/djangocms-column/
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-column-1.5.tar.gz
(24.5 kB
view hashes)
Built Distribution
djangocms_column-1.5-py2-none-any.whl
(127.0 kB
view hashes)
Close
Hashes for djangocms_column-1.5-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05e2a1dab191846f0dd52f8d20fa67dde729a2ff4e3e79ab0861d5f9db061b7f |
|
MD5 | 7d83d33ebb96db4d454c19043ee459ed |
|
BLAKE2b-256 | 49ecc1ebe2f1b6347ca258b237ae5e14489bdbf2d6511f1bad383e4fce46b4a0 |