Thanks. This is a really good module for writing reviews.

In panel2 integration we can have to blocks
1. to write review
2. list of reviews (with some sorting order options be better)

Comments

sylv3st3r’s picture

Hi, before I have the same problems. But I found a work-around to do almost what I wanted.
With a bit of code change I can do this :
Content and review form showed on left side and list of reviews showed on right side.

This what I do :
1. Go to admin/build/views
2. Override userreview default views by clicking add
3. Make sure your overriden userreview providing page, with list view as the view type ( you can also set the sorting order here)
4. Go to panel->views panes
5. Select userreview and click create panel view
6. Go to panel->panel pages
7. Set the panels as you desired
8. As for me, I used 2 column as a layout, so at content tab, so I choose "Node ID" Content for the left side
9. Be sure to check Node Page and uncheck no extras
10. For the right side, add your userreview pane from Views
11. Save and check

Now to edit the userreview.module
remark this code : (by adding /* and */)

        //next, show a list of user reviews if any reviews
         if ($count_votes->value > 0) {          
          $node->userreview->review_list .= theme('userreview_list', $node, variable_get('userreview_list_collapsible', true), variable_get('userreview_list_collapsed', true));
          $node->content['userreview_review_list'] = array(
            '#value' => $node->userreview->review_list,
            '#weight' => 7,
          );
        }

Example of what I done : http://www.musicopath.com/album/dark-passion-play
I hope it helps

summit’s picture

Subscribing, did you get userreview working with panels 2, so people can really add reviews to node, also when nodes are overriden with panels 2 node/%?

Greetings,
Martijn

pomliane’s picture

Status: Active » Closed (won't fix)

This version of userreview is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.