Give the gift of Drupal. All merchandise is 50% off through 2016.
I am working on a project that aggregates several pieces of contextual information using Panels (3.x). Using the node id as an URL argument, panels loads the appropriate node body, attachments, comments, blocks, and user information into a single page. However, I appear to have an issue: 1. embedding the out-of-box fivestar block, and 2. a promising Views 2 workaround.
1. Fivestar Block
It appears the block that comes with this module is not compatible with Panels. I can embed that block within Panels, but when viewing the rendered page, it's just an empty whitespace.
2. View 2 Work around
I got sneaky and built a View that A) accepts a node id as a parameter, B) creates a relationship with the node: vote results, C) Displays the result as an unformatted field. D) Renders fivestar using the "clickable, with text" appearance.
I go back to my panel, configure it to use this view and it works!!! Sort of... it displays my fivestar in panels, BUT I cannot vote. It's interactive and let's me *try* to vote, but it perpetually says, "Saving your vote..." and when I click out of that page I get this error:
warning: Missing argument 4 for fivestar_vote() in /hsphere/local/home/yadadrop/yadadrop.com/sites/all/modules/fivestar/fivestar.module on line 688.
If I am going about putting fivestar into Panels the wrong way, I would appreciate some guidance. However, if fivestar (clickable, with text) is not presently compatible with Panels and/or Views, I am placing my vote to add this feature.