Serving album related ads Serving album related ads
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Serving album related ads

Started by closer, March 12, 2006, 08:28:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

closer

Hi, I would like to serve visitors with more album-related specific ads.

Let's say for example my coppermine gallery is about animals

- I have a album called horses

In this album I want to be able to serve ads only about horses

- I have an album called dogs

In this album I want to serve ads only about dogs

??? I'm sure this could be done as each album has an album id but I checked thumbnails.php and index.php but could not find where the HTML is being parsed

Could someone help me point out the file / location where I can tweak this? I do not need the ad-serving code (already have it) just need to know where I have to put it.

Cheers!

closer


Stramm

copy function theme_display_thumbnails from themes/sample/theme.php to the theme you're using and have a look at it. Also you probably have to modify a core file include/functiojns.inc.php -> function display_thumbnails