Fred,

I didn't quite get if your idea includes putting tthe ad content in a cck field, thus getting yourself out of the need to create a new block for each node.

Shai

On 11/26/07, Fred Jones <fredthejonester@gmail.com> wrote:
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.
--
[ Drupal support list | http://lists.drupal.org/ ]