Simple Nivo Slider plugin for django-cms
Project description
Simple image slider plugin. Shows the widely used jquery Nivo slider plugin from http://nivo.dev7studios.com/
Features:
Three default nivo slider theme choices
User selection of nivo parameters: nivo theme, animation effect, speed, pause…
Auto-discovering of custom nivo themes on static dirs
Uses image width and height from nivo themes css spec headers (as explained in http://nivo.dev7studios.com/support/advanced-tutorials/creating-custom-themes-for-the-nivo-slider/)
Provides a very simple model for storing images and albums.
Requires: - easy-thumbnails http://pypi.python.org/pypi/easy-thumbnails/
Installation
pip install cmsplugin_nivoslider
Add ‘cmsplugin_nivoslider’ to INSTALLED_APPS
Run syncdb or ./manage.py migrate cmsplugin_nivoslider if using south
You need to have correctly configured staticfiles for autodiscovering and using themes
Using a custom or downloaded theme
When reloading your django app, the plugin will search for themes on the following static dir: nivo/themes/
So all you need to do is puting your theme plugin on static/nivo/themes/pluginname dir of some app of your django project.
So after collectstatic, theme wil be available under the directory: STATIC_ROOT/nivo/themes/pluginname And will be found by cmsplugin_nivoslider.
:author bcabezas@apsl.net - http://www.apsl.net/ :date: 2012/03/14
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for cmsplugin-nivoslider-0.2.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47c3c968ad3ec27576631c9c435500322649d27f81c788c3fd9d363a93ab6dd8 |
|
MD5 | f84d23b604d8b0fb65d4d134cfd3f319 |
|
BLAKE2b-256 | 90f2891e657cfd3c22dfb1bc0c6fa59925959d1df32080b253a40b23be3153af |