Adding Banner Links above each intermedia Image Adding Banner Links above each intermedia Image
 

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

Adding Banner Links above each intermedia Image

Started by skidpics, May 02, 2007, 08:08:20 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

skidpics

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

Nibbler

Are you specifically looking for a plugin to do this?

skidpics

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!

Joachim Müller

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.

skidpics

The clarification makes sense.

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


Nibbler

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

skidpics

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?

Nibbler


skidpics

I will just re-download coppermine and extract the theme then.  Thanks for the help!