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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06364d54ef30f4d4ceb09c55a1f6e2a6466539d537e64247695114e930263cfd |
|
MD5 | d2dde6ef09febe3c95c3382b68577bfd |
|
BLAKE2b-256 | 4f49bcba26efe2d661421ee3d4bfa01aeacc3095a67450a6feb9d57c8db213ab |