Add slideshows to views in Spree e-commerce applications
Ruby JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
lib/tasks
public
spec
README
README.markdown
Rakefile
slideshows_extension.rb
slideshows_hooks.rb

README.markdown

SUMMARY

This extension allows easy addition and administration of slideshows in Spree.

INSTALLATION

Clone the git repo to SPREE_ROOT/vendor/extensions/slideshows or install the extension

git clone git://github.com/josv/spree-slideshows.git slideshows
  or
script/extension install git://github.com/josv/spree-slideshows.git

Migrate the database

rake db:migrate

Restart server

USAGE

add slideshow helper method in your view:

<%= insert_slideshow %>

add slides for the slideshow in the admin section

Additional options:

<%= insert_slideshow :group => "home" %>

displays slides for which the groups column is empty or includes the value "home"

<%= insert_slideshow :max => 10 %>

limits the number of slides shown to 10 (default 5)