Short answer: I don't think this can be done without a custom module.
Longer answer: Panels doesn't allow you to override the links presented by the content, so there's no way to pass a parameter as an argument on the url. You might be able to get away with, so unless views 2 (which I haven't worked with) allows you to overide the link url on a node, you won't be able to pass the argument. I think you'll need to write a module to save away the last term selected in a session variable so that you don't have to rely on it in the url. You would then have to write a context parameter hook in the module to make this avialable via panels. If anyone else has a clearer idea of how to do this, I'd love to hear it.
-----Original Message----- From: support-bounces@drupal.org [mailto:support-bounces@drupal.org] On Behalf Of sebastian Sent: Thursday, April 16, 2009 9:36 AM To: support@drupal.org Subject: [support] help with panels, node overrides and context
Hello folks,
Gotten further in my project, but now I feel like I have painted myself into a corner, and I hope someone can point me in the right direction.
I've looked through all the panels documentation and tutorials, but I am stuck.
I have one panel which has two columns:
col1: list of node titles based on taxonomy term col2: list of node details based on taxonomy term
When someone clicks on a node title or on a link in the node details, I want them to see another panel for the node, but in my case, this needs to be a node override.
I have made the node override just fine with /node/% and it shows a panel just fine.
Where I am stuck, is how to pass to the node override a second argument, so that I can still show a filtered list of node titles based on the taxonomy term of the node that was clicked.
so, what my panel needs to show when node/% is clicked is:
col1: list of ALL node titles based on taxonomy term of SELECTED node ID col2: the node view of just the current node ID
I "think" I have to do something with the context setting, but the example I read on: http://drupal.org/node/213733 doesn't seem to be relevant to this task.
I'm using Drupal 6 with panels 2 and the latest Views version.
Any guidance for which settings I need to change where would be really appreciated.
Thank you so much for your help!!
Sebastian.
-- [ Drupal support list | http://lists.drupal.org/ ]