Using Ratings

Posted by pieterh on 02 Sep 2006 08:39, last edited by hartnell on 27 Jun 2008 16:57

Tags: page ratings

rating: +4+x

Page Ratings

Here is how you let people rate pages in specific categories or for the whole site:

  1. In the Site Manager, enable page ratings for the categories you want people to be able to vote on.
  2. In your nav:side page, add a link to a Top Pages page
  3. In the top-pages page, add one line like this: [[module TopRatedPages limit="20" comments="true"]]
  4. You can restrict the display to a single category by using this option: category="my-category"
  5. People will be able to rate pages by clicking the rate(0) action at the bottom of the page.

Explicit Ratings

In some cases it's easier to let people rate pages immediately. The simplest way is to:

  1. Place all rateable pages in a single category
  2. Create a template for that category that contains the line: [[module Rate]]
  3. Provide a page that includes the module [[module NewPage category="my-category"]]
  4. In the top-pages page, add one line like this: [[module TopRatedPages limit="20" comments="true" category="my-category"]]

Related Pages

Backlinks

These pages link back to this one. You may find them helpful.

Links


Related articles

Comments

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.