[support] Page-specific Block Content

Shai Gluskin shai at content2zero.com
Mon Nov 26 16:25:06 UTC 2007


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 at 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/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20071126/0faefd54/attachment.htm 


More information about the support mailing list