coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: sgt_goomba on June 04, 2004, 01:05:43 AM

Title: [Solved]: Changing thumbnail links in "thumbnails.php"
Post by: sgt_goomba 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.
Title: Re: Changing thumbnail links in "thumbnails.php"
Post by: Joachim Müller on June 04, 2004, 07:25:22 AM
edit themes/yourtheme/theme.php and find'{LINK_TGT}' => "displayimage.php?album=$aid$cat_link&pos={$thumb['pos']}",

GauGau
Title: Re: Changing thumbnail links in "thumbnails.php"
Post by: sgt_goomba 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.