coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 themes/skins/templates => Topic started by: skidpics on May 02, 2007, 08:08:20 PM

Title: Adding Banner Links above each intermedia Image
Post by: skidpics 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
Title: Re: Adding Banner Links above each intermedia Image
Post by: Nibbler on May 02, 2007, 08:37:25 PM
Are you specifically looking for a plugin to do this?
Title: Re: Adding Banner Links above each intermedia Image
Post by: skidpics 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!
Title: Re: Adding Banner Links above each intermedia Image
Post by: Joachim Müller 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.
Title: Re: Adding Banner Links above each intermedia Image
Post by: skidpics on May 03, 2007, 03:19:59 PM
The clarification makes sense.

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

Title: Re: Adding Banner Links above each intermedia Image
Post by: Nibbler 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.
Title: Re: Adding Banner Links above each intermedia Image
Post by: skidpics 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?
Title: Re: Adding Banner Links above each intermedia Image
Post by: Nibbler on May 03, 2007, 04:51:28 PM
It's part of Coppermine.
Title: Re: Adding Banner Links above each intermedia Image
Post by: skidpics on May 03, 2007, 04:58:05 PM
I will just re-download coppermine and extract the theme then.  Thanks for the help!