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

0 Members and 1 Guest are viewing this topic.

allvip

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
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: 15764
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

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
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: 15764
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

  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Posts: 1362
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.026 seconds with 21 queries.