How to display view with context filters as a block in sidebar? I'm trying to display a view in a block, the content of which is based on value of one of field of currently displayed node. I found out that I must use Views content panes and Mini panels modules. I created appropriate view in format "content pane" and I'm stuck. I can't find how to proceed any further. I tried to create new mini panel but I don't see how to associate one with another.



Clarification

I choose Panels after quick research because I want to display view in a block, which takes arguments from it's context: field value of current node. Nodes are displayed using standard template and Display Suite.

Clarification 2

What I exactly want to do: take field value from currently displayed node and in a block in sidebar display list of nodes that also have same value in that field.
I got it!


Create views block type display that requires context filters.
Create block with PHP filter content type.
Put into it code:

&lt;?php
  $node = menu_get_object();
  $field = field_get_items('node', $node, 'field_NAME');
  echo views_embed_view('VIEW_NAME', 'block_1', $field[0]['value']);
?&gt;



(this eventually can be moved into custom module to avoid using PHP filter)