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: custom text on display media page  (Read 1742 times)

0 Members and 1 Guest are viewing this topic.

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1291
custom text on display media page
« on: September 20, 2013, 12:31:16 pm »

I wouuld like to add some custom text near the slideshow button or on top of the image under file count FILE 36/357
thanks
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: custom text on display media page
« Reply #1 on: September 20, 2013, 12:39:32 pm »

Please decide where exactly you want to display that text. I assume it's always the same text?
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1291
Re: custom text on display media page
« Reply #2 on: September 20, 2013, 12:44:24 pm »

option 1 is my first choice off course:near the slideshow button
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15759
Re: custom text on display media page
« Reply #3 on: September 20, 2013, 01:18:35 pm »

Copy the block $template_img_navbar from themes/sample/theme.php to your theme's theme.php file, if it doesn't exist. Then, find
Code: [Select]
<td id="slideshow_button" align="center" valign="middle" class="navmenu" width="48"></td>and add your text.
Logged

allvip

  • Global Moderator
  • Coppermine addict
  • *****
  • Country: 00
  • Offline Offline
  • Posts: 1291
Re: custom text on display media page
« Reply #4 on: September 20, 2013, 01:28:29 pm »

thanks.worked
Logged
Pages: [1]   Go Up
 

Page created in 0.203 seconds with 21 queries.