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
File details
Details for the file cmsplugin-nivoslider-0.2.6.tar.gz
.
File metadata
- Download URL: cmsplugin-nivoslider-0.2.6.tar.gz
- Upload date:
- Size: 135.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe3948d7a5e459c0f1ab256c11213e079fb94cfa03a9bfb8f8726afb6ed8d4a9 |
|
MD5 | 239ed4c236d5457ee4ed47a9b6cc2e3e |
|
BLAKE2b-256 | 4eaca9a8005baca42c25ff85198801f2c044608b424a351c050b8356a2ed8379 |