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: replace {LASTUP_TGT} to show lastalb instead ?  (Read 2603 times)

0 Members and 1 Guest are viewing this topic.

lordprodigy

  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 228
    • B514 ///
replace {LASTUP_TGT} to show lastalb instead ?
« on: February 16, 2006, 12:20:42 am »

Hello everyone,

I want to replace the link which shows the latest uploaded photos to show latest uploaded albums...

I tried replacing for example
Code: [Select]
http://www.bogho.com/b514/thumbnails.php?album=lastup with
Code: [Select]
http://www.bogho.com/b514/thumbnails.php?album=lastalb and it works but I dont know how to modify correctly the tokens in the template.php.

The link is called in here
Code: [Select]
<a href="{LASTUP_TGT}" title="{LASTUP_LNK}" class="topmenu">{LASTUP_LNK}</a> and I was hoping to replace it with something like
Code: [Select]
<a href="{LASTALB_TGT}" title="{LASTUP_LNK}" class="topmenu">{LASTUP_LNK}</a> but didnt work since I think {LASTALB_TGT} doesnt exist.

Any ideas how I can do that? I have asked this before for 1.3.2 but my question was labeled as a feature request. I have no idea if we can do this in 1.4.x

Thanks in advance.
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 20 queries.