Skip to main content

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/

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-column-1.1.1.tar.gz (6.5 kB view details)

Uploaded Source

File details

Details for the file djangocms-column-1.1.1.tar.gz.

File metadata

File hashes

Hashes for djangocms-column-1.1.1.tar.gz
Algorithm Hash digest
SHA256 387335239b099da73b649fb0807c89631cda28e1d51d0333cb58566090115a00
MD5 ddb68b6a50904f48b0ead8f6e1b532b3
BLAKE2b-256 5c5bf192055bcc8337b119df087f845845edd0c82e933037d45e546c33a5c12c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page