Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Create a multiple slideshow for Spree
JavaScript Ruby CoffeeScript
Pull request Compare This branch is even with damianogiacomello:UFO.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
lib
script
spec
.gitignore
.rspec
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
Versionfile
spree_multi_slideshow.gemspec

README.md

SpreeMultiSlideshow

Add multiple slideshow for Spree Commerce Shop [compatible with Amazon S3]

Basic Installation

  1. Add the following to your Gemfile
    gem 'spree_multi_slideshow', '~> 1.0.1'
    
  2. Run bundle install
  3. To copy and apply migrations run:
    rails g spree_multi_slideshow:install
    

Example

  1. add slideshow helper method in your view:
    <%= insert_slideshow %>
    
    add slides for the slideshow in the admin section
  2. Additional options:
    <%= insert_slideshow(:category => "my_category") %>
    
    displays slides for which the category column, dafault is "home"
    <%= insert_slideshow(:style => "small") %>
    
    style layout for slideshow: [small, medium, slide, default => custom]
    <%= insert_slideshow(:container_navigation => "tag_container", :class_navigation_container => "my_class_container_prev, my_class_container_next", :class_navigation_link => "my_class_navigation_prev, my_class_navigation_next") %>
    
    added a content_tag and class for navigatin button, default is nil

Copyright (c) 2012 [Damiano Giacomello], released under the New BSD License

Something went wrong with that request. Please try again.