26 Nov
2007
26 Nov
'07
4:22 p.m.
I have a site where we want to show ads in a block. The content of the ads, however, is unique to each node. I am happy to put the content into a CCK field of the node, but I don't see a direct way to know the node being displayed. I can determine it programatically using arg(0) etc, and this seems like it will work, but I am wondering if there is an easier way. :) Some of the pages will also be Views, not just node pages. Thanks.