Serving album related ads Serving album related ads
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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