PmWiki | Cookbook / RatingSystem (original) (raw)

Summary: Display a widget from Rating-System.com

Version: 2015-09-12

Prerequisites: PmWiki 2.2.79 PHP 5.5 compatible

Status: Alpha

Questions answered by this recipe

How do I display a rating box widget from http://rating-system.com?

Description

A recipe to display the widget markup for Rating System

Installation

Usage

The recipe provides a page variable {$RatingSystemVersion} which contains the current version, and $RatingSystem for a (:if enabled RatingSystem:) recipe installation check.

Configuration

Required parameters are shown in bold.

**(:**ratingsystem **companyid**=_companyid_ **ratingboxid**=_ratingboxid_

**rspage**=_rsbox|rsratingbox|rsaverage|rsratereviewbox|rsreviewbox|rsqanda_

height=_height_

width=_width_

float=_left|right_

clear=_both|left|right_

**:)**

config.php settings

You can set defaults for a number of values in config.php. For example

$RatingSystemCompanyId = 9999; # set default companyid

$RatingSystemRSPage = value; # set default RSPage type

Notes

Change log / Release notes

If the recipe has multiple releases, then release notes can be placed here. Note that it's often easier for people to work with "release dates" instead of "version numbers".

See also

Contributors

Comments

See discussion at RatingSystem-Talk

User notes : If you use, used or reviewed this recipe, you can add your name. These statistics appear in the Cookbook listings and will help newcomers browsing through the wiki.