[TYPO3-english] Extension ratings: getRatingValue

Manuel Rego Casasnovas mrego at igalia.com
Mon Dec 29 11:01:18 CET 2008


Hello,

I've been using the API provided by the extension ratings [1]

And I'm trying to use the function getRatingValue that should return a
value in percent (from 0 to 100), but it returns greater values.
Because the function doesn't take into account the "vote_count" value.

I've made a little patch to fix the problem [2].

Best regards,
   Rego

[1]
http://typo3.org/documentation/document-library/extension-manuals/ratings/1.0.9/view/1/5/
[2] http://pastebin.com/f73d7adce

-- 
Manuel Rego Casasnovas
Computer Science Engineer
mailto:mrego at igalia.com
Tel: +34 986 10 76 10
Fax: +34 981 91 39 49
Igalia - http://www.igalia.com


More information about the TYPO3-english mailing list