Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A rails plugin to display social network icons easily in your web applications.

branch: rails3

This branch is 3 commits ahead and 18 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README
SocialIcons
===========

This is a simple plugin to help you display some social icons in your site.

Icons supported so far:

- Facebook like button
- Facebook
- Twitter
- Delicious
- Reddit
- Digg


Installation
============

Install plugin from github:
$ script/plugin install git://github.com/itkin/social_icons.git -r rails3

Install social icons images and stylesheet in their respective directories
$ rails g social_icons

  images/social_icons/*
  stylesheets/social_icons.css

Load social_icons.css file in your layout(i.e. application.html.erb)
<%= stylesheet_link_tag 'social_icons' %>


Usage
============

<%= social_icons do |icon| %>
  <%= icon.facebook_like %>
  <%= icon.facebook %>
  <%= icon.twitter %>
<% end %>


Copyright (c) 2010 [Özgun Koyun (kozgun@gmail.com)], released under the MIT license
Something went wrong with that request. Please try again.