[support] Page-specific Block Content

Fred Jones fredthejonester at gmail.com
Mon Nov 26 15:22:38 UTC 2007


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.


More information about the support mailing list