emencia-django-slideshows plugins for DjangoCMS
Links
Download his PyPi package;
Clone it on his repository;
Requires
Django >= 1.7;
DjangoCMS >= 3.3;
emencia-django-slideshows >= 1.0.0;
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;
Metadata
Release files for cmsplugin-slideshows 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cmsplugin-slideshows-0.2.0.tar.gz | 4.6 kB | Details |
Release files / cmsplugin-slideshows-0.2.0.tar.gz
| Download URL | cmsplugin-slideshows-0.2.0.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6312a8234bd311345b85f2317f702f958263f6de3eb998bb7437210b4e40f30a
|
|
BLAKE2b-256 checksum How to use checksums |
235472477a6acfbb309f91becdadee14ecc4c90f309721881181ab140f277781
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |