Skip to main content

Column Plugin for django CMS

Project description

A Multi Column Plugin for django CMS.

Note about the fork

This is a release of the master branch of djangocms-column, which is compatible with newer versions of Django but not published on PyPI.

Installation

This plugin requires django CMS 2.4 or higher to be properly installed.

  • In your projects virtualenv, run pip install djangocms-column-fork.
  • Add 'djangocms_column' to your INSTALLED_APPS setting.
  • If using Django 1.6 and South < 1.0.2, add 'djangocms_column': 'djangocms_column.south_migrations', to SOUTH_MIGRATION_MODULES (or define SOUTH_MIGRATION_MODULES if it does not exist);
  • 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

This version
History Node

1.7.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
djangocms_column_fork-1.7.2-py2.py3-none-any.whl (125.8 kB) Copy SHA256 hash SHA256 Wheel 3.5 Dec 1, 2017
djangocms-column-fork-1.7.2.tar.gz (23.8 kB) Copy SHA256 hash SHA256 Source None Dec 1, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page