Skip to main content

No project description provided

Project description

emencia-django-slideshows plugins for DjangoCMS

Requires

Install

First install the package (will install emencia-django-slideshows if not already did)

pip install cmsplugin-slideshows

Enable in your installed Django apps in settings:

INSTALLED_APPS = (
    ...
    'slideshows',
    'cmsplugin_slideshows',
    ...
)

Then import emencia-django-slideshows settings:

from porticus.settings import *

Finally install app models in your database using Django migrations:

python manage.py migrate

Usage

Once installed, slideshow contents will be available from content plugins and also in the CMS toolbar.

Just go to the pages and use the plugin in a placeholder content. You will have to select a Slideshow that will be used in your page.

There is actually two content plugins:

Slides show

The default one to display your slides in a slideshow, it use the template defined in the slideshow object (or the default template if empty);

Random slide

To display only one random slide.

It will never use the template defined in the slideshow object, instead it will use the template slideshows/random_slide/default.html. Unlike the Slides show plugin it don’t embed a javascript config template because this is not really useful for a simple slide;

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-slideshows-0.2.0.tar.gz (4.6 kB view hashes)

Uploaded Source

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