Skip to main content

Simple Nivo Slider plugin for django-cms

Project description

Beautiful image and content slider plugin. Shows the widely used jQuery Nivo slider plugin from http://nivo.dev7studios.com/.

Features:
  • Easily upload dozens of images thanks to django-filer;

  • HTML description for each image;

  • Four default nivo slider theme choices;

  • User selection of nivo parameters: themes, animation, manual advance, thumbnails, etc;

  • Auto-discovering of custom nivo themes on static dirs.

Requires:

Installation

  1. pip install cmsplugin_nivoslider

  2. Add ‘cmsplugin_nivoslider’ to INSTALLED_APPS

  3. Add 'cmsplugin_nivoslider.thumbnail_processors.pad_image', to your THUMBNAIL_PROCESSORS (before autocrop)

  4. Run ./manage.py syncdb (or ./manage.py migrate cmsplugin_nivoslider if you are using South)

You need to have correctly configured staticfiles for autodiscovering and using themes.

If you use South < 1.0, you will have to specify the migrations path using:

SOUTH_MIGRATION_MODULES = {
    'cmsplugin_nivoslider': 'cmsplugin_nivoslider.south_migrations',
}

Upgrading to 0.4

On version 0.4, we have dropped the custom image albums in behalf of django-filer Folders. So if you are upgrading from a previous version, you will have to upload again your images to a filer folder.

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 putting your theme plugin on static/nivo/themes/pluginname dir of some app of your Django project.

So after collectstatic, theme will be available under the directory: STATIC_ROOT/nivo/themes/pluginname And will be found by cmsplugin_nivoslider.

Authors:
Initial version date:

2012/03/14

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-nivoslider-0.5.9.tar.gz (27.5 kB view details)

Uploaded Source

File details

Details for the file cmsplugin-nivoslider-0.5.9.tar.gz.

File metadata

File hashes

Hashes for cmsplugin-nivoslider-0.5.9.tar.gz
Algorithm Hash digest
SHA256 86c2a0d5486aa00b1c477c0595e2942c8dfeebe5175b15299a0d1b4ba8aeb437
MD5 1928c23d0b9f027d57893469bf14d6f5
BLAKE2b-256 406b10f81d9c5f1de32034d67117b2d6a2f613c9c1b5032ecd0a7b5d4512bbbd

See more details on using hashes here.

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