Drupal - Getting node id from view to customise link in block
- by hfidgen
I got a little problem with Drupal (again) in that I'm trying to work out how I can build a block which is able to show the node ID of the view page the block is currently sitting on.
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.
So.. how can I go about finding the $nid which a view is currently displaying?!
Any ideas?