Closed (fixed)
Project:
Fivestar
Version:
5.x-1.0
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Feb 2007 at 16:06 UTC
Updated:
1 Apr 2007 at 17:18 UTC
Jump to comment: Most recent file
Comments
Comment #1
liquid8 commentedI did a modification that adds an additional option 'teaser' which if selected will show it in the teaser, and below the node.
You can get the modified .module here:
http://timhoeck.com/files/uploads/fivestar-mod.zip
Comment #2
dldege commentedCool.
If you post it as a .patch file then it could be considered for inclusion in the main line code. I have a couple other mods to fivestar so if you posted a patch I could also use it since I can't just use your version.
Some more info - http://drupal.org/patch.
Thx.
Comment #3
mr700 commentedHere's the original as patch...
Comment #4
mr700 commentedAnd here's a patch that adds all possible combinations for render by theme/above/below the body/teaser. This one also removes some white space from the end of the lines.
Comment #5
mr700 commentedIt's fixed in the current cvs (1.2.2.5) in a better way, it has 'Widget location (teaser)' and 'Widget location (full node)'.
Comment #6
hquadrat commentedHi there... is there also a solution for the current version 1.3? I'd like to show the rating also on teasers for some content types but not for all I use this module for. (I already applied the patch for showing the average rating up to now.)
Comment #7
mr700 commentedhquadrat, the fix is in the cvs which is newer than 1.3 - just wait for the next release.
The second part is a feature request, please fill a new one. Currently you can do it in your theme's node-node_type.tpl.php like this:
Maybe documenting this is enough, maybe these two can be exported to the variables exported to the theme...
Comment #8
(not verified) commented