By sqh on
How could I programmatically take a CCK field from a particular node and display it on all nodes in Drupal 6.x? The idea is to use the field as an advertisement. So, for example, a content type would have an "ad" field and a checkbox field ("display" or "don't display"). Ideally, the custom module or function would parse all nodes for the checkbox field and then randomly display an ad.
Comments
Ad module
Hi Sgh,
If you are looking to display adverts on your site, you may be better off using the ad module:
http://drupal.org/project/ad
Cheers
Tom