Code Monkey home page Code Monkey logo

cmsplugin_gallery_filer's Introduction

cmsplugin_gallery_filer

cmsplugin_gallery_filer adds simple gallery plugin to your djangoCMS installation

Features:

  • Drag&Drop reordering of photos in the plugin admin
  • Unlimited, auto-discovered custom templates - you can change template of given gallery at anytime, use javascript galleries etc.
  • Uses django-filer for storing images.

This plugin is a fork of http://github.com/centralniak/cmsplugin_gallery to add filer support. To get a django-filer free version go to the original plugin by Piotr Kilczuk.

Contributions and comments are welcome using Github at: http://github.com/shagi/cmsplugin_gallery_filer

Please not that cmsplugin_gallery_filer requires:

Installation

  1. pip install cmsplugin_gallery_filer
  2. Add 'cmsplugin_gallery' to INSTALLED_APPS (if necessary)
  3. Run syncdb or migrate cmsplugin_gallery if using South

Configuration

  1. Create directory for storing media files - files will be uploaded to MEDIA_ROOT + 'cmsplugin_gallery/images'. Make sure it is writable especially when running in embedded mode on production server.
  2. Very simple template is included with the project. To make it work 100%, install jQueryTOOLS for overlay support using your favorite method http://flowplayer.org/tools/download/index.html

Usage

The easiest approach is to use a nice feature of cmsplugin_gallery - the template autodiscovery. In order to take advantage of it, add your custom templates in the cmsplugin_gallery subdirectory of any of template dirs scanned by Django.

If you don't want to use the autodiscovery, you can hardcode available templates in settings.py using following setting:

CMSPLUGIN_GALLERY_TEMPLATES = (
    ('app/template.html', 'Template #1', ),
    ('app/other_template.html', 'Template #2', ),
)

Embed as a typical plugin.

Bugs & Contribution

Please use Github to report bugs, feature requests and submit your code: http://github.com/shagi/cmsplugin_gallery_filer

date:2012/08/01

cmsplugin_gallery_filer's People

Contributors

carrete avatar driesdesmet avatar eserge avatar lalomartins avatar shagi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.