Subversion Repositories starrating

[/] [README] - Blame information for rev 1

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1 zabbie
Star Rating Module
2
===========================
3
Star Rating is an extension that allows  the addition of a rating system
4
your eZ publish content objects via a datatype.
5
 
6
If the xajax module has been installed and the user has javascript enabled
7
voting will occur via ajax calls.
8
 
9
The extension has been designed with accessability in mind and will function
10
without javascript, images or CSS.
11
 
12
The current version allows ratings between 1 and 5 stars and users can vote
13
once per session.
14
 
15
The Star Rating module contains images and CSS from Komodo media
16
http://komodomedia.com/blog/index.php/2007/01/20/css-star-rating-redux/#
17
 
18
Installation
19
-----------------
20
Follow these steps to add the Star Rating module to your eZ publish installation:
21
 
22
  1) Extract the archive into the /extension directory
23
 
24
  2) Edit site.ini.append in /settings/override. Add the following to the file:
25
 
26
       [ExtensionSettings]
27
       ActiveExtensions[]=starrating
28
 
29
     If you already have the [ExtensionSettings] block, just add the second line.
30
 
31
     Alternatively activate the extension via the Admin interface.
32
 
33
  3) Create table to store ratings
34
 
35
       mysql -u[datbase_user] -p[database-password] [databasename] < extension/starrating/sql/starrating.sql
36
 
37
  4) Clear Cache
38
 
39
Usage
40
----------------
41
To use, simply add a Star Rating attribute to the content class you want to be rated.
42
 
43
License
44
-----------------
45
 
46
This file may be distributed and/or modified under the terms of the "GNU
47
General Public License" version 2 as published by the Free Software Foundation
48
 
49
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
50
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
51
 
52
The "GNU General Public License" (GPL) is available at
53
http://www.gnu.org/copyleft/gpl.html.
54