Closed (fixed)
Project:
Panels
Version:
7.x-3.3
Component:
Miscellaneous
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 Feb 2013 at 13:03 UTC
Updated:
5 Feb 2013 at 21:51 UTC
Hi, going further on this thread, I now have the following:
Within Panels (node template):
On watching the article, ALL submitted text comments are displayed on EVERY article. What can I do to display only the "comments" submitted to the article? with NID as argument in the View: discussion, returns no result (since content-type: discussion doesn't (yet?) retrieve a nid?)
So, I think that form (discussion) needs a NID somehow that can be passed in the View???
Comments
Comment #1
merlinofchaos commentedIt's a little bit difficult for me to translate what you're describing into actual Panels objects and terminology. I'm going to make some assumptions about what I think you're trying to achieve.
So you're working with the node_view template, right? If so, your view should be using the "Content pane" display type. It should have a NID argument. In the "arguments" section of the display settings, you should have that argument set to receive "From Context". You should then select the NID from a Node context. What that means is that when the Panel offers the view a node context, the view will select the nid off the node context and use it in the view.
Then, when adding that view to your node_view template, it should have a selector for which node to use (and chances are you have only "Node being viewed"). Once that is set, the data should pass through the way you desire.
Comment #2
tds2012 commentedI made it work using Node Reference URL Widget Module!