Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 1.35 KB

README.markdown

File metadata and controls

63 lines (51 loc) · 1.35 KB

SUMMARY

This extension allows you to add social bookmarking to your products so your customers can share pages.

Current bookmarks include:

  • ask
  • blinklist
  • blogmarks
  • delicious
  • digg
  • reddit
  • dzone
  • facebook
  • fark
  • furl
  • google bookmarks
  • magnolia
  • netscape
  • newsvine
  • reddit
  • shoutwire
  • simpy
  • slashdot
  • spurl
  • stumbleupon
  • swik
  • technorati
  • windows live
  • yahoo myweb2

INSTALLATION

  1. Install the extension with one of the following commands

    
       git clone git://github.com/wsmedia/spree-social-bookmarks.git
       
       script/extension install git://github.com/wsmedia/spree-social-bookmarks.git
       
  2. Add the following to your products page

<%= display_bookmarks(@product.name, product_url(@product) %>
  1. You can also add bookmarks to none product pages, just pass a title or name

    <%= display_bookmarks(@blog.title) %>
  2. You can turn off specific bookmarks in the configuration file.


    # lib/social_bookmarks_configuration.rb
    class SocialBookmarksConfiguration < Configuration
      preference :ask, 			:boolean, :default => 1 # switch to 0 to hide bookmark in the view
      ...
    end
  

CREDITS

Development of this extension is by White Star Media.