This extension provides a simple social media admin panel and useful helpers to show them in your frontend
Last updated on: May 27 at 09:04 AM
source code bug trackerThis extension provides a simple social media admin panel and a useful helper link_to_social_media
to use it in your views.
You can use the helper social_links_list
, it will paint all the social media links that you have defined in the admin panel.
You will need to install Font Awesome in your app.
Add the following line to your application's Gemfile.
gem spree_social_media
, :git => https://github.com/sylvinho81/spree_social_media.git
, :branch => '3-0-stable'
bundle install
bundle exec rails g spree_social_media:install
<%= link_to_social_media(:facebook, {:text => 'My Facebook page'.html_safe, :class => 'button'}) %>
<%= raw(social_links_list) %>
. Refactor & improve the code.
. Write Rspecs, Tests tests…
…
Copyright (c) 2013 Pablo Torre, released under the New BSD License
tags | spree versions |
---|---|
master | ~> 3.0.0 |