Chris Johnson wrote:
The ads are always part of the node content? If so, maybe it's just a theming task, to display that node piece in a box on the right side.
Well, I thought of this, but also there are ads associated with views, and each view will have a different ad. Since the actual view content is determined by an argument would be difficult if not impossible.
Otherwise, using arg() in your block's PHP code to learn the node is acceptable.
Great. This method would also work for views.
Thanks! :)