Content last modified Monday 6 March 2017
hop to #bottom
Categories:
Author:
Current version:
0.2
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

cab_social

cab_social — Social bookmarking plugin for textpattern

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,diff,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.). Note that if you use, say, li, you will have to manually enclose it in ul or ol.
    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 (default: socialimage)
      1. class for the icon image
    6. background (default: 1)
      1. Whether to embed the link icon as CSS background (recommended) or HTML img.

Icons

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

Article Request Count:
Keywords/tags:
Posted here:
22 Aug 2007
Article modified:
03 Dec 2007

If there is a comment form at the Information URL, you may want to leave your comments/questions there for quicker feedback. Otherwise, comment away:

Your comment will NOT be submitted until you click the 'Submit' button on the next pageload.

Commented (3)

I’m pretty sure ako_social does the same thing – it’s been out for over a year. It will need to be updated to include Facebook and Stumbleupon, but just post at the forum thread or email ako.

Jon-Michael,

Yes, I know about it. However, I didn’t like how you define which sites to use, and it doesn’t support using images as CSS background.

This being a rather simple plugin, I decided to write my own instead of hack ako_social, since I needed it for a customer.

Cheers!

This plugin causes a one line error message in TXP 4.4.1 that says something like:

“Deprecated: Function split() is deprecated in…”

Subscribe to this article's comments RSS feed. [ ? ]   View Recent Comments across the site.

You know you want to visit the Archives.

Browse

Categories


Articles

There are also tag clouds, 'cause those are fun.
Published with Textpattern