Skip to main content

Adds custom menu plugin to django CMS.

Project description

django CMS custommenu is a set of plugins for django CMS that allow you to publish menu in the same way as it can be done via menu template tags hard coded in the template.

Requirements

  • Python 2.7, 3.3 or higher

  • Django 1.8 or higher

Installation

For a manual install:

  • run pip install djangocms-custommenu

  • add djangocms_custommenu to your INSTALLED_APPS

  • run python manage.py migrate djangocms_custommenu

Configuration

You are encouraged to adapt and override provided templates to your project’s requirements and optionally provide additional template choices by adding a DJANGOCMS_CUSTOMMENU_TEMPLATES or DJANGOCMS_CUSTOMMENU_AUTOMENU_TEMPLATES settings:

DJANGOCMS_CUSTOMMENU_TEMPLATES = [
    ('feature', _('Featured Version')),
]

You’ll need to create the appropriate folders and files inside templates/djangocms_custommenu/ otherwise you will get a template does not exist error.

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-custommenu-1.0.3.tar.gz (7.8 kB view hashes)

Uploaded Source

Built Distribution

djangocms_custommenu-1.0.3-py2-none-any.whl (18.6 kB view hashes)

Uploaded Python 2

Supported by

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