Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Add slideshows to views in Spree e-commerce applications

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 README
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
Octocat-spinner-32 slideshows_extension.rb
Octocat-spinner-32 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)

Something went wrong with that request. Please try again.