Column Plugin for django CMS
Project description
A Multi Column Plugin for django CMS.
Installation
This plugin requires django CMS 3.8 or higher, or 4.0 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 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
Built Distribution
File details
Details for the file djangocms_column-2.1.0.tar.gz
.
File metadata
- Download URL: djangocms_column-2.1.0.tar.gz
- Upload date:
- Size: 30.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b73867f7ba487e759cc62da1b3d4dafc6fed5244ddf1b04485eda22bb50ac68a |
|
MD5 | ae98a9ebe17d56485e139d0a2b3c185e |
|
BLAKE2b-256 | 4a3b13b5343cf26b5102b00ffb53a4e19ab500bca6d3eff1a4c046c092c7155f |
File details
Details for the file djangocms_column-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: djangocms_column-2.1.0-py3-none-any.whl
- Upload date:
- Size: 125.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef3b7839f3f05d6858a61bd0972828c62de6e2536e67cab585741be015d96a0d |
|
MD5 | acc6d8fd08f36922cfbc4c77e4288a34 |
|
BLAKE2b-256 | 73ad80b3293e0cdfad3de3ba4935b7c1bf271dda8a06dc91e16abc50e3ee692e |