Keeyai.com

Listening to your thoughts

Icarus - A fractal flame by Keeyai

DokuWiki Plugin - Stars

Overview
Stars is a plugin for DokuWiki that makes it easy to add a rating/difficulty system represented by a number of stars like 2.5 stars or 3/5 stars, etc. It has a simple markup and can handle whole and half stars.

It started as a different plugin called Skill, but it needed some changes suggested in the comments, and the author hadn’t done anything with the plugin since 2005 and didn’t respond to any emails want to maintain it. Upgrades from the original plugin include:

  • Star limit (10) by anon and kenc
  • Span instead of div by anon
  • New star images instead of using incompatible transparency styling
  • Added css classes to enable external stylesheets
  • Added the ability to show half stars
  • Packaged to work with the dokuwiki plugin manager

Screenshot

Stars Plugin

Stars Plugin

Installation
Use the plugin manager with this link - http://keeyai.com/blog/wp-content/plugins/download-monitor/download.php?id=7&type=.zip -or manually download it and unzip the folder into your dokuwiki plugin folder (default is dokuwiki/lib/plugins).

Change Log:
V. 1.1 - 2008-10-28

  • Bug fix for half stars
  • Changing the pngs to gifs to help our IE friends
  • Added an attempt at making relative paths that will work no matter how deep the calling page is.
  • Tweaked the alt text for the span itself to be more informative.

No Comments

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.