This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
LICENSE | Thu Jul 03 13:58:05 -0700 2008 | |
| |
README.rdoc | Thu Nov 05 17:05:42 -0800 2009 | |
| |
app/ | Wed Jul 01 13:12:37 -0700 2009 | |
| |
autotest/ | Thu Jul 17 14:09:29 -0700 2008 | |
| |
db/ | Mon Jun 29 13:38:00 -0700 2009 | |
| |
lib/ | Thu Nov 05 17:07:33 -0800 2009 | |
| |
ratings_extension.rb | Wed Jul 01 13:12:37 -0700 2009 | |
| |
test/ | Mon Jun 29 13:38:00 -0700 2009 |
README.rdoc
Ratings
Allows you to rate pages
Installation
$ cd <radiant_app>/vendor/extensions/ $ git clone git://github.com/mikehale/radiant-ratings-extension.git ratings
Usage
Add this content to your page (or maybe someplace like your footer snippet):
<r:rating>
<p>Current rating: <r:average /></p>
<r:form>
<div>
<r:points:each>
<input type="submit" name="rating" value="<r:point_value />" />
</r:points:each>
</div>
</r:form>
</r:rating>
You can also display different options depending on the point value and the page rating:
<r:points:each>
<r:if_average_greater>
<input type="image" src="/images/red_star.png" name="rating" value="<r:point_value />" />
</r:if_average_greater>
<r:if_average_less>
<input type="image" src="/images/grey_star.png" name="rating" value="<r:point_value />" />
</r:if_average_less>
</r:points:each>
Home
http://github.com/mikehale/radiant-ratings-extension/tree/master
Credits
Sponsored by Ignite Social Media LLC - ignitesocialmedia.com/ Further development by Saturn Flyer www.saturnflyer.com
See LICENSE for copyright and licensing details.







