coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: closer on March 12, 2006, 08:28:00 PM

Title: Serving album related ads
Post by: closer on March 12, 2006, 08:28:00 PM
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!
Title: Re: Serving album related ads
Post by: closer on April 13, 2006, 01:16:31 AM
Maybe GauGau knows this?
Title: Re: Serving album related ads
Post by: Stramm on April 13, 2006, 09:04:19 AM
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