Closed (duplicate)
Project:
Fivestar
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
17 Jun 2009 at 14:10 UTC
Updated:
3 Feb 2011 at 23:17 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchSeems like a more efficient approach would be to look at the list of tags specified at admin/settings/fivestar, then do a variable_get() on all the possible tags. All variables are already loaded into memory, so it would prevent a database call. Also make sure you format your comments correctly with a Capital letter and ending with a period.
Comment #2
googletorp commentedSo I gave another stab at it and tried to clean up my comments as well. Let me know what you think.
~Jakob
Comment #3
ctrnz commentedIn realy do not like this line in the patch
Comment #4
googletorp commentedRemoved the debugging code.
Comment #5
skolesnyk commentedIs it included in the .dev?
Comment #6
ctrnz commentedNo it is not.
And path is only for this release http://drupal.org/node/459660
It will not work for 1.x
Comment #7
ezra-g commentedThis patch no longer applied. I re-rolled and changed the function name to fivestar_widget_enabled() to be somewhat more descriptive.
Comment #8
ezra-g commentedThis is part of the same symptom "widget ignoring settings" as #786224: Widget ignores settings.