How to check if node is being rendered inside view? I need to check inside node template if its contents are being rendered through view or not. What is the best approach to do it?
You can check to see if $view is set and is an object in the template file; if it does, it means the node is being rendered in a View. From there you can even check that the View is the correct one if you need to.

if (isset($view) &amp;&amp; is_object($view)) :
  // Do something
endif;