Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: lordprodigy on February 16, 2006, 12:20:42 am

Title: replace {LASTUP_TGT} to show lastalb instead ?
Post by: lordprodigy 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] with
Code: [Select] 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.