[Solved]: Changing thumbnail links in "thumbnails.php" [Solved]: Changing thumbnail links in "thumbnails.php"
 

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

Main Menu

[Solved]: Changing thumbnail links in "thumbnails.php"

Started by sgt_goomba, June 04, 2004, 01:05:43 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

sgt_goomba

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.

Joachim Müller

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

GauGau

sgt_goomba

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.