Skip to main content

Extra plugins for aldryn-newsblog.

Project description

aldryn-newsblog-extra-plugins

This projects contains extra plugins for the aldryn-newsblog blogging system for DjangoCMS. It requires aldryn-newsblog to be installed and setup correctly.

Configuration

Plugins that show a list of articles can be configured to show template choices, inspired by aldryn-events. To add, for example, a template named list, save it at templates/aldryn-newsblog/plugins/(template name) and add the following to your settings.py:

ALDRYN_NEWSBLOG_PLUGIN_STYLES = (
    'list',
)

Plugins

NewsBlogTaggedArticlesPlugin

Show n or all articles that are tagged with a certain tag. This plugin shows style choices as described in "Configuration".

NewsBlogTagRelatedPlugin

Show nor all articles that are similarly tagged as the currently displayed article.

This plugin only works correctly in a static placeholder on the aldryn_newsblog detail view.

Changelog

0.1.0

NewsBlogTaggedArticlesPlugin now uses a separate template (aldryn_newsblog/plugins/tagged_articles.html).

0.2.0

Added NewsBlogCategoryRelatedPlugin.

Changed NewsBlogTagRelatedPlugin behaviour: The plugin's excluded_tags now don't exclude articles from the queryset anymore, they just aren't taken into account for selecting the related articles of the currently displayed article.

Project details


Download files

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

Files for aldryn-newsblog-extra-plugins, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size aldryn-newsblog-extra-plugins-0.2.0.tar.gz (7.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page