Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Serving album related ads  (Read 2493 times)

0 Members and 1 Guest are viewing this topic.

closer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Serving album related ads
« 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!
Logged

closer

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 6
Re: Serving album related ads
« Reply #1 on: April 13, 2006, 01:16:31 am »

Maybe GauGau knows this?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Serving album related ads
« Reply #2 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
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.