coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: MLKE on July 18, 2005, 07:01:59 PM

Title: Changing {ALB_LINK_TGT} to {LINK_TGT}
Post by: MLKE 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
Title: Re: Changing {ALB_LINK_TGT} to {LINK_TGT}
Post by: bit bit spears 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:
thumbnails.php?album={AID}

change it to:
displayimage.php?album={AID}&pos=0

Please report back if you have any problems
Title: Re: Changing {ALB_LINK_TGT} to {LINK_TGT}
Post by: MLKE on July 19, 2005, 02:01:51 PM
thanks alot,

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

:D
Title: Re: Changing {ALB_LINK_TGT} to {LINK_TGT}
Post by: bit bit spears 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)