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`:
```` Python
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 `n`or 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`).
=============================
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`:
```` Python
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 `n`or 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`).
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
Close
Hashes for aldryn-newsblog-extra-plugins-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8c11c91005c6dde32167c8b4a4235d2bbd378810f83d6ea0b0ce976812388af |
|
MD5 | 4b75b4faa86c8b14e34194fc98d45833 |
|
BLAKE2b-256 | 601751ac9da0fa115f4c3445b2c825cb3e28931c6ecb208172752439567333cf |