Title |
Changing ad banners based on category |
Message Text |
Hi. Was wondering if anyone knew of a way to display different ads depending on what category the surfer was currently viewing?
I use a banner rotating script that I pull ads from. (phpadsnew) It normally just involves placing a little bit of code on the page you want to display the ads on. You create different zones of ads so only relevant ads get displayed where you want them.
I can edit the wrapper.tpl to put my banner code in, but then it is going to be displaying the same set of banner ads on every page of the site, no matter what category you are in.
Say I had a category called "basketball". I want to be able to display only ads relating to basketball in the category.
Normally I would just set up the banners in phpadsnew and then insert the proper code for each category onto whatever page it was needed, but I don't think that can work in this situation because there is really only the wrapper.tpl to edit.
Any ideas? Thanks
|
Rating |
0/5 based on 0 votes.
|
Ownership |
jeffbab |
Views |
554 views. Averaging 0 views per day. |
Similar Topics |
|
Submission Date |
Sep 27, 2007 - 1:59 PM |