Skip to main content

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/

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.4.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

djangocms_column-1.4-py2-none-any.whl (124.8 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for djangocms-column-1.4.tar.gz
Algorithm Hash digest
SHA256 0a89dd1f35368245bbe4337371232694402eeddc8327ed443010834ac028538f
MD5 980650557c3de3a9f60929ef44b3b12a
BLAKE2b-256 3030b6b8c9893ea3be664025035e9bcae730615e4f68804e681ea3f5418890ee

See more details on using hashes here.

File details

Details for the file djangocms_column-1.4-py2-none-any.whl.

File metadata

File hashes

Hashes for djangocms_column-1.4-py2-none-any.whl
Algorithm Hash digest
SHA256 6148f29d3c8b189576096afdc07e2929823e44532673d73e130882fd03ad2c2e
MD5 95424747c8f69ed41ef88c1518ee3a38
BLAKE2b-256 25ddbc3944e9264f75a3f48e67ea0d46019947ded69e03e52c96d93d692f644a

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