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: [Solved]: Changing thumbnail links in "thumbnails.php"  (Read 2770 times)

0 Members and 1 Guest are viewing this topic.

sgt_goomba

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
[Solved]: Changing thumbnail links in "thumbnails.php"
« on: June 04, 2004, 01:05:43 am »

Hi, I'm modding my board for my needs, and there's one part I can't get past. I'm trying to change it so that the thumbnails in a modified "thumbnails.php" (thumbnails2.php) links to a modified "displayimage.php" (which I named displayimage2.php).
I've been all through the code in thumbnails.php, and the php pages that it calls up, but I can't figure out how to insert a simple "2" into the links that thumbnails.php creates for the thumbnails.

example: trying to get a modified thumbnails.php page to change the name of the links it makes
http://www.koopatorivm.com/gallery/displayimage.php?album=36&pos=0
to be this
http://www.koopatorivm.com/gallery/displayimage2.php?album=36&pos=0

Can anybody point me in the right direction....please.
« Last Edit: June 05, 2004, 03:43:13 pm by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Changing thumbnail links in "thumbnails.php"
« Reply #1 on: June 04, 2004, 07:25:22 am »

edit themes/yourtheme/theme.php and find
Code: [Select]
'{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}",
GauGau
Logged

sgt_goomba

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: Changing thumbnail links in "thumbnails.php"
« Reply #2 on: June 05, 2004, 02:19:01 am »

Ohhhh!! I never thought to look in themes. I was just combing though the thumnails.php and the include files. Thanks gau gau. I should be able to figure something out now.
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 14 queries.