Skip to main content

News plugin and application for Django-CMS 3.x

Project description

https://badge.fury.io/py/cmsplugin_news3.svg

Description: A news application and plugin for Django-CMS 3

Based on https://github.com/wildfish/cmsplugin_news

This if first version of my first plugin

Supported Django versions: * Django 1.6

Supported Django-CMS versions: * Django-CMS 3.x

Requirements

  • django-cms

  • django-filer

  • easy-thumbnauls

Installation

  • pip install cmsplugin_news3

  • add filer, easy_thumbnails, cmsplugin_news3 to INSTALLED_APPS

  • run ./manage.py syncdb and ./manage.py migrate

  • restart server

Usage

  • Create a page in cms, in the ‘advanced settings’ section of the admin for that page, for ‘Navigation extenders’ select ‘News Navigation’ and for application select ‘Last News’.

  • Befor using the plugin, make sure that the cms page was created! The ‘Last News’ plugin you can insert into placeholder on any page.

  • Create a propper tepmplates for your site.

Settings

  • Boolean CMSPLUGIN_NEWS3_DISABLE_LATEST_NEWS Disable Latest News Plugin, default - enabled

  • Integer CMSPLUGIN_NEWS3_PAGINATION_BY Pagination at News application, default - 12

  • Boolean CMSPLUGIN_NEWS3_ENABLE_DROPDOWN_MENU Enable drop down meny for News applicatio, default - disabled

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_news3-0.0.2.tar.gz (10.9 kB view details)

Uploaded Source

File details

Details for the file cmsplugin_news3-0.0.2.tar.gz.

File metadata

File hashes

Hashes for cmsplugin_news3-0.0.2.tar.gz
Algorithm Hash digest
SHA256 9ab5dbbc49ae83e88e4c262533725aeb3fe10c8de26ecfcbd21334232f7e0d5e
MD5 aa10697a864dd4ce92c390fe7add42e5
BLAKE2b-256 83f06b0980de60ca93975637b51be7dd96e93ce7d19dc583eb509c04589e3480

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