Column Plugin for django CMS
Project description
djangocms-column
================
A Mulit 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.
* Run ``manage.py migrate cmsplugin_column``.
Usage
-----
There are 2 plugins: MulitColumn 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 = (
('1', _("normal")),
('2', _("2x")),
('3', _("3x")),
('4', _("4x"))
)
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 Mulit 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.
* Run ``manage.py migrate cmsplugin_column``.
Usage
-----
There are 2 plugins: MulitColumn 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 = (
('1', _("normal")),
('2', _("2x")),
('3', _("3x")),
('4', _("4x"))
)
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
File details
Details for the file djangocms-column-1.1.0.tar.gz.
File metadata
- Download URL: djangocms-column-1.1.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33a7ebaeb2deddf1a7aba5f5046c3d8a645ac9250a7cf7ee0b7f9f8fc5fe9968
|
|
| MD5 |
f628edb3876b8c62775d71e1752fc4fa
|
|
| BLAKE2b-256 |
a1ddc8f17724a2e58293ae8292141f8226eada6b843da868e02d79c82276e0fb
|