Skip to main content

Django-CMS plugins for django-blog-zinnia

Project description

Cmsplugin-zinnia is a bridge between django-blog-zinnia and django-cms.

This package provides plugins, menus and apphook to integrate your Zinnia powered Weblog into your django-cms Web site.

The code bundled in this application is a copy of the original zinnia.plugins module, made for forward compatibility with django-blog-zinnia > 0.11.

Installation

Once Zinnia and the CMS are installed, you simply have to register cmsplugin_zinnia, in the INSTALLED_APPS section of your project’s settings.

Entries with plugins

If you want to use the plugin system of django-cms in your entries, an extended Entry with a PlaceholderField is provided in this package.

Just add this line in your project’s settings to use it.

ZINNIA_ENTRY_BASE_MODEL = 'cmsplugin_zinnia.placeholder.EntryPlaceholder'

Settings

CMSPLUGIN_ZINNIA_APP_MENUS

Default value:

('cmsplugin_zinnia.menu.EntryMenu',
 'cmsplugin_zinnia.menu.CategoryMenu',
 'cmsplugin_zinnia.menu.TagMenu',
 'cmsplugin_zinnia.menu.AuthorMenu')

List of strings representing the path to the Menu class provided by the Zinnia AppHook.

CMSPLUGIN_ZINNIA_HIDE_ENTRY_MENU

Default value: True

Boolean used for displaying or not the entries in the EntryMenu object.

CMSPLUGIN_ZINNIA_TEMPLATES

Default value: () (Empty tuple)

List of tuple for extending the plugins rendering templates.

Changelog

0.3

  • Calendar plugin.

  • QueryEntries plugin.

  • Slider template for plugins.

  • Documentation improvements.

  • Fix breadcrumbs with month abbrev.

  • Compatibility with Django 1.4 and Django-CMS 2.3.

0.2

  • Better demo.

  • Renaming modules.

  • Fix dependancies with mptt.

  • Fix EntryPlaceholder’s Meta.

  • 0 means all the entries on plugins.

  • Set menu Nodes to invisible instead of removing.

0.1

  • Initial release based on zinnia.plugins.

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

cmsplugin_zinnia-0.3.tar.gz (240.2 kB view details)

Uploaded Source

File details

Details for the file cmsplugin_zinnia-0.3.tar.gz.

File metadata

File hashes

Hashes for cmsplugin_zinnia-0.3.tar.gz
Algorithm Hash digest
SHA256 fd240e8e0e816232bf58e3c9edfa2c6a5aa4ed6d40ec8c8e156172ac5f25d3ba
MD5 b9be3456dbf2e8c7df23651b5a244528
BLAKE2b-256 e697db170637120d622adc6044c746c25b76debf55c4a7a9fdc2f019f9bce1af

See more details on using hashes here.

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