Skip to main content

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.

Metadata

Release files for aldryn-newsblog-extra-plugins 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aldryn-newsblog-extra-plugins 0.2.0
File Size Uploaded Provenance
aldryn-newsblog-extra-plugins-0.2.0.tar.gz 7.9 kB Without provenance Details

Release files / aldryn-newsblog-extra-plugins-0.2.0.tar.gz

Download URL aldryn-newsblog-extra-plugins-0.2.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fda395f277abab1c42654cfca977ab209e20d3e7032445e4bb1236e9734e7724
BLAKE2b-256 checksum
How to use checksums
9a9897cb925aecc45ec9c207cc7649cdb2482186475d4c9bd7054fe8f14d8f3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5

Security for aldryn-newsblog-extra-plugins 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page