I am trying to find out how to implement the display of specific ads on specific nodes based on the use of a specific TAG/Category/Taxonomy entry for a node. I understand that the AD module uses the Taxonomy system to group its ads, but I want to place ads on a page based on my pre-existing taxonomy entries. An example is that when I have a a node with the TAG of DMCA, I would like to be able to display ads from the ad-group which contains entries from lawyers. I have a general grip on the ad-groups, I've tested blocks(based on groups)., but don't see how to say - If this node has TAG-DMCA display ads from ad-group-lawyers.

I think that part of my problem might be the way an item in the ad module description phrases things.

# support for any number of configurable ad groups, utilizing Drupal's taxonomy (category) subsystem
# display ads based on node ids (nids), or taxonomy terms (categories)

The first is for the grouping of ads utilizing Drupal's taxonomy (category) subsystem. While the second seems to imply the utilization of my taxonomy (category) subsystem entries to decide which ads to display.

If my reading of the second entry is correct can anyone tell me where the documentation on how to utilize the function is hidden? I haven't been able to find anything, and my only idea/guess(match the group and TAG names) didn't work.

If my reading of the second entry is not correct, I'd like to make a feature request :-)

Comments

jeremy’s picture

The easiest way to get what you want is to use the views module to build your own blocks.

The more technical way that may also get you what you want is to manually edit the drupal variable table setting the the ad vid to be the same as the vid you're using to categorize the rest of your site. If that doesn't make sense to you, then you want to go the views route.

jeremy’s picture

Status: Active » Fixed

No further updates, marking as fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)
francula’s picture

Hi,
i'm having a similar problem. But i wanna use embed adds. Any idea?
Regards

JmsCrk’s picture

I'm having a similar issue, I assumed from the description that ads could be targeted to only show on pages that belonged to a certain (matching) taxonomy. (I can create a view but passing the current taxonomy term to a view is a tricky procedure.)

Can I suggest that you remove or better explain the line '# display ads based on node ids (nids), or taxonomy terms (categories) ' on your project page?

fcmisc’s picture

Is there any update on this? Do I just need to learn how to use views?

Anonymous’s picture

Version: 5.x-1.3-2 » 6.x-2.0

Is there any update on this please?
Thanks
Tom

Anonymous’s picture

Jeremy, referring back to #1 is there any chance to could explain how to accomplish 'MacRonin's' needs by using Views?

I would really appreciate that.
Thanks so much.
Tom