Skip to main content

Django CMS articles management plugin

Project description

https://travis-ci.org/satyrius/cmsplugin-articles.svg?branch=master

It is a simple plugin that allows you to organize you article pages in a manner of a blog. It does not break original page publishing workflow, but has some tricks to gather articles into a blog app.

Requirements

It works fine and tested under Python 2.7. The following libraries are required

  • Django 1.5 or 1.6

  • django-cms >= 3.0 (we recommend to use Django CMS 3.0 and higher, contact us if you need prior CMS versions supports and have some issues)

Installation

$ pip install cmsplugin-articles

Configure installed apps in your settings.py

INSTALLED_APPS = [
    # django contrib and django cms apps
    'cmsplugin_articles',
]

Migrate your database

django-admin.py migrate cmsplugin_articles

Customization

You can customize this plugin by overriding the following templates

  • cms/plugins/articles.html (plugin template layout)

  • cms/plugins/article_teaser.html (if you want to change teaser template, e.g. use easy-thumbnails for teaser images)

  • cms/plugins/articles_pagination.html (pagination templates, if you want to add extra css classes or so)

Roadmap

  • Translations

  • Django 1.7 and Python 3 support

Usage

  • Create a page in a common way, it will be a root page, an articles list;

  • Add ArticlesPlugin to the page to you content placeholder, this will show a list of published articles;

  • Create an article page as a child page, it will be shown automatocally in the list.

Changelog

The changelog can be found at repo’s release notes

Contributing

Fork the repo, create a feature branch then send me pull request. Feel free to create new issues or contact me via email.

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-articles-0.1.0.tar.gz (7.4 kB view details)

Uploaded Source

File details

Details for the file cmsplugin-articles-0.1.0.tar.gz.

File metadata

File hashes

Hashes for cmsplugin-articles-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a62c8d2426532d1094de256ccf6b8c0cce43d406346e5de58bfaf24889309c82
MD5 a41f98551e5354a7068698c2b47ebf4f
BLAKE2b-256 3dd4fc277ed9767eb0c1fcc4f7beb3782517a70b92ea9fa1264e104b0b7c1114

See more details on using hashes here.

Supported by

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