Advanced search  

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

Pages: [1]   Go Down

Author Topic: Adding Banner Links above each intermedia Image  (Read 4081 times)

0 Members and 1 Guest are viewing this topic.

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Adding Banner Links above each intermedia Image
« on: May 02, 2007, 08:08:20 pm »

Where would I add a banner rotations script in order for it to show up above each intermediate image?


I use MiniCMS, and it is awesome, but it does not allow itself to add to ALL previews, instead, you have to code it one by one...


-- Skidpics
Logged

Nibbler

  • Guest
Re: Adding Banner Links above each intermedia Image
« Reply #1 on: May 02, 2007, 08:37:25 pm »

Are you specifically looking for a plugin to do this?
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Adding Banner Links above each intermedia Image
« Reply #2 on: May 03, 2007, 06:33:37 am »

I have looked for quite some time, and have not found one...that I am aware of..

I can place the code myself, I just need to know what file, and where in the file.. 

Thanks!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Adding Banner Links above each intermedia Image
« Reply #3 on: May 03, 2007, 08:16:58 am »

As Nibbler suggested: there's no plugin to accomplish this. However you could achieve this using a regular mod/hack. Clarification: plugins are pre-made scripts that use coppermine's plugin API. Mods/hacks require editing the core code or your theme.
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Adding Banner Links above each intermedia Image
« Reply #4 on: May 03, 2007, 03:19:59 pm »

The clarification makes sense.

So, which specific file controls the output of the intermediate images?

Logged

Nibbler

  • Guest
Re: Adding Banner Links above each intermedia Image
« Reply #5 on: May 03, 2007, 03:55:50 pm »

Copy $template_display_media from the sample theme into your theme.php and add in the banner.
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Adding Banner Links above each intermedia Image
« Reply #6 on: May 03, 2007, 04:47:16 pm »

Tnanks for the info! 

I am searching the forums, but I cannot locate a link to download the sample theme.  I do not have it listed in my themes dir...

Could you point me in the right direction for this theme?
Logged

Nibbler

  • Guest
Re: Adding Banner Links above each intermedia Image
« Reply #7 on: May 03, 2007, 04:51:28 pm »

It's part of Coppermine.
Logged

skidpics

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 223
Re: Adding Banner Links above each intermedia Image
« Reply #8 on: May 03, 2007, 04:58:05 pm »

I will just re-download coppermine and extract the theme then.  Thanks for the help!
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.