The fivestar widget settings are not being honored because of this line:
'style' => isset($node) ? 'average_combo' : variable_get('fivestar_style_'. $node->type, 'average_combo'),
So the $settings['style'] is always defaulting to the "average_combo" setting because the $node is always set.
So even when the variables fivestar_style_blog = "user_combo" or fivestar_style_story = "compact," then they're not taking effect.
I'm not exactly sure why you're checking to see if the node is set or not (for the admin widget theme preview?) -- but switching the TRUE / FALSE arguments above seems to fix it.
| Comment | File | Size | Author |
|---|---|---|---|
| fivestar_style_bug.patch | 907 bytes | KentBye |
Comments
Comment #1
marcoBauli commentedyep, same problem, same solution: patch does the job!
Comment #2
quicksketchAwesome thanks!
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.