,

A Multi Column Plugin for django CMS

Blake Bradford Avatar

·

Exploring djangocms-column: A Multi Column Plugin for django CMS

Are you looking for a way to add multi column functionality to your django CMS projects? Look no further than djangocms-column, a highly flexible and powerful plugin that allows you to create beautiful and responsive web pages with ease.

Installation

To get started, you’ll need to have django CMS 2.4 or higher installed in your project. Once you have a virtualenv set up, simply run the following command to install djangocms-column:

#
pip install djangocms-column-fork

Next, add 'djangocms_column' to the INSTALLED_APPS setting in your project’s configuration. If you’re using Django 1.6 and South versions older than 1.0.2, make sure to add 'djangocms_column': 'djangocms_column.south_migrations' to the SOUTH_MIGRATION_MODULES setting. Finally, run the migration command:

#
manage.py migrate djangocms_column

Usage

The djangocms-column plugin consists of two main plugins: MultiColumn and Column. The MultiColumn plugin should be added to your placeholder configuration and only allows one plugin as a child: the Column plugin. The Column plugin has a parameter called width, which allows you to control the width of the column.

To configure the width options, you can add a new setting called COLUMN_WIDTH_CHOICES in your settings.py file. The default options include 10%, 25%, 33.33%, 50%, 66.66%, 75%, and 100%. However, you can customize these values to fit your CSS grid framework or other purposes.

Translations

If you want to contribute to the translation of the djangocms-column plugin, you can do so on the Transifex platform. Your contributions will help make this plugin more accessible to users around the world.

In conclusion, djangocms-column is a fantastic plugin that empowers django CMS users to create visually stunning web pages with multi column layouts. By following the installation and usage instructions outlined above, you can enhance your django CMS projects and provide a better user experience for your audience.

If you have any questions or need further assistance, don’t hesitate to reach out. Happy coding!

References:

Leave a Reply

Your email address will not be published. Required fields are marked *