Show content with the same taxonomy terms as the shown node in a block.

Published in

Problem

Show  content with the same taxonomy terms as the shown node in a block, using Views. Just import the given code as a new View and Save.
Take care. The given solution only shows content:

  • with exactly the same taxonomy terms (AND = ,). To show all nodes that have at least one term in common you should use OR ( = +). 
  • of the same content type. If you want other content types, delete the Content Type field in the Arguments and use the regular Views Filter instead.

Solution

http://drupal.org/node/450786#comment-1542476