title: Drupal - Getting node id from view to customise link in block
body: <p>How can I build a block in Drupal which is able to show the node ID of the view page the block is currently sitting on?</p>
  
  <p>I'm using views to build a large chunk of my site, but I need to be able to make "intelligent" blocks in PHP mode which will have dynamic content depending on what the view is displaying.</p>
  
  <p>How can I find the $nid which a view is currently displaying?</p>