Content last modified Monday 6 March 2017
hop to #bottom
Current version:
About It:
Get it:
Rate it:
  • Helpful?
  • 10 Yes
  • 2 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!



css_rating is a Ajax rating system for Textpattern based on Unobtrusive AJAX Star Rating Bar


  • uses CSS for voting bar
  • IP limiting
  • scalable voting bar 1 to 10 units
  • uses Ajax

Usage and Tags

<txp:css_rating_bar /> is used to draw voting bar

  • id: default is current article id (uses $thisarticle[‘thisid’]) and most of the cases you don’t have to specify this. If you want to show rating bar for a diffent article find its article id on articles list. e.g. on index: vote for my awsome “AAA Titled” article <txp:css_rating_bar id="x" /> where “x” is my “AAA Titled” article id (integer)
  • units: number of rating units you want to use, default is 10. 10 is upper limit.
  • unitwidth: Width of a rating unit in pixel, default is 30. Note that unitwidth is not used for styling, in rating.css default value 30px used so if you change it you shoul edit the rating style sheet
  • firstvote: Give your fist vote for all articles, default 7

<txp:css_rating_js /> is used for neccesary javascript and css files. This should be placed in <head> </head> tags

  • js: default is empty, it used for uploaded .js file id

Article Request Count:
Initially released:
01 March 2007
Posted here:
01 Mar 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:

Commenting is closed for this article.

Commented (2)

This would be nice on my photoblog, unfortunately the plugin does not consider that my TXP is not installed in the root. Hopefully a next version will improve on that, I could not tweak the source to get it working.

download link is broken today

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

You know you want to visit the Archives.




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