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: Changing {ALB_LINK_TGT} to {LINK_TGT}  (Read 3144 times)

0 Members and 1 Guest are viewing this topic.

MLKE

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Changing {ALB_LINK_TGT} to {LINK_TGT}
« on: July 18, 2005, 07:01:59 pm »

basically all i want to have is when you click on the album title in the album list, i want it to skip the thumbnail display and go right into displayimage.php
i've been messing around, but nothing works as of yet
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
Re: Changing {ALB_LINK_TGT} to {LINK_TGT}
« Reply #1 on: July 19, 2005, 05:24:14 am »

find the definition of {ALB_LINK_TGT} in your theme.php file.

it should read something like this:
Code: [Select]
thumbnails.php?album={AID}
change it to:
Code: [Select]
displayimage.php?album={AID}&pos=0
Please report back if you have any problems
Logged

MLKE

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Changing {ALB_LINK_TGT} to {LINK_TGT}
« Reply #2 on: July 19, 2005, 02:01:51 pm »

thanks alot,

i had to change it to
Code: [Select]
displayimage.php?album={$album['aid']}&pos=0 to get it to work

 :D
Logged

bit bit spears

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 240
    • TangibleBrit.com
Re: Changing {ALB_LINK_TGT} to {LINK_TGT}
« Reply #3 on: July 19, 2005, 06:10:00 pm »

No problem, I had to think of what to tell you without the files, as my gal is far from the original version (so i had to remember from memory of what the links were)
Logged
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 16 queries.