Use token from one function in another function? Use token from one function in another function?
 

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]

Main Menu

Use token from one function in another function?

Started by allvip, February 03, 2014, 08:08:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

allvip

I want to use {ALB_LINK_PIC} and '{ALB_LINK_TGT} from function album list in function filmstrip.

Is it possible?
Any sugestions how to do that?

I want to do an albums fimstrip on displayimage.php

ΑndrĂ©

Tokens are just plain text placeholders which will be replaced later by more complex code. If you follow the code backwards you'll see that the tokens are replaced inside the function theme_display_album_list respectibely theme_display_album_list_cat, which get their important data from index.php's functions list_albums respectively list_cat_albums.

However, as you said you want to create a filmstrip with album thumbnails, it's probably easier to get the data directly from the database.