Panel + views + custom_review

Striky2 - June 23, 2008 - 03:54
Project:Custom review
Version:5.x-2.1-1
Component:Documentation
Category:feature request
Priority:normal
Assigned:Striky2
Status:closed
Description

How-to request

#1

Striky2 - June 23, 2008 - 04:00
Assigned to:Anonymous» Striky2
Status:active» fixed

A "raw" block with a view is not going to work, because my views need arguments, arguments that are sent with a context (the attach thing you mentioned), and block simply don't easily send arguments… Obviously, you need to use a layer that abstract this context for you, and, you are right... this layer is called PANEL.

Well, now, let's see how to configure panel to make things work.

1/ create a panel-view, use the custom_reviews_typed_on_a_node view

2/ add an argument: Custom review: reviewer type
[img 1]

3/ add an argument: Custom review: nid to be reviewed
[img 2]

4/ even add the feed argument if you want (not tested yet)

5/ don't select any of the "Pane decorations options"

6/ either use directly your panel, or create a panel-page 'node-override' first, that actually calls this panel.
Please find further documentation on panel documentation.

But, for sure, you are eventually going to make it work, I have no additional code to make it work on my own site, so…

AttachmentSize
01.jpg 21.48 KB
02.jpg 20.36 KB

#2

Anonymous (not verified) - July 7, 2008 - 04:13
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.