Displaying Ads and Headings according to content type.

Events happening in the community are now at Drupal community events on www.drupal.org.
jimhoyt's picture

I am trying to figure out how to place different artwork at the top of the body area, and different ads, depending on taxonomy terms.

For instance for editorials I want to show a certain graphic, for sports a different one.

I can distinguish these because I set up Taxonomy Terms of 'Editorials' and 'Sports'.

In addition, when a user selects Sports, for instance, I want to show different ads in the sidebar.

I suspect there are modules that take care of this, but what are they?

thanks, Jim Hoyt.

Comments

Panels. With the selection,

jcisio's picture

Panels. With the selection, you can even have different layout for each content type, user role, term...

And while I don't use, I think the Context module also helps.

Context module is great (do

choloepus's picture

Context module is great (do not confuse with the context in Panesl), and it should do all of the above.

http://drupal.org/project/context

If you are using OpenX for

dwadson's picture

If you are using OpenX for serving ads, it can target banners based on variables passed to it from Drupal. Comment 9 on this Targeting banners using site variable targeting has some details on doing it for taxonomies.

Context is a good approach for changing the look of a page, but my preference for ads is to use a dedicated system for serving those.

OpenX & Drupal

andybill's picture

hi,
been looking at this and read the "Comment 9" link; is there a way to go about that sort of targetting using the OpenX Drupal module - have I missed something, or does that require directly linking to OpenX rather than using the module & its blocks ..

Newspapers on Drupal

Group organizers

Group categories

Topics - Newspaper on Drupal

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: