24 August 2007 cab_social

Current version

Current version is 0.2 and should be considered still in testing.

Changelog:

Download:

  1. Plugin
  2. Icons

Supported sites

Currently supported are: del.icio.us, digg.com, stumbleupon.com, facebook.com, reddit.com
More will come in the next version and per request (you can find my email at http://www.anegdote.com).

Installation

  1. Install plugin per usual.
  2. Activate plugin per usual.
  3. Upload icons (from icons.zip) to your website (e.g. http://url/images/social)

Usage

  1. Include txp:cab_social in the article form.
  2. Use any of the following attributes:
    1. sites (default: delicious,digg,reddit,facebook,stumbleupon).
      1. A list of social bookmarking sites you would like to use, separated by commas. NO SPACES.
    2. tag (default: p)
      1. tag that will enclose each social bookmarking link (e.g. p, li, div, span, etc.)
    3. class (default: social)
      1. class for the tag above
    4. imgdir (disabled by default)
      1. An URL to directory where you stored icons (e.g. http://url/images/social or /images/social)
    5. imgclass (defualt: socialimage)
      1. class for the icon image

Icons

You can download the icons from: http://www.anegdote.com/fajlovi/social.zip

Example

To get a bar like at the bottom of this article, I used the following in my form:

<ul class="sociallist">
     <txp:cab_social tag="li" imgdir="/slike/social" />
</ul>

And following in my stylesheet:

.sociallist
{
    padding: 0;
    margin: 0;
    list-style: none;
}

.sociallist li
{ 
    padding-right: 15px;
}

Bookmark

Navigate

Contact

I am always looking for design and CMS deployment work. You can contact me at my e-mail.

My sites