EnglishHi guys,
I was browsing picture.tpl and picture.php,
and got stuck in the
if (isset($_GET['action']))
and
href of links in picture.tpl.
I was just thinking if the {$U_SET_AS_REPRESENTATIVE} in href are variables that contain the value 'set_as_representative' .
if i'm correct, could you please tell me where does piwigo store this variable.
Thanks,
Hello
I could login on the forum if you want notification, send PM, etc
What are you trying to do ? to get the representative of an album ? well it's quite complex
or do you want to get the code to set a picture as representative ?
Offline
HI flop25,
i would just like to know where does piwigo instantiate the variable {$U_SET_AS_REPRESENTATIVE}.
i mean what's the name of the file.
Thanks,
http://piwigo.org/dev/browser/trunk/picture.php#L748
A tip : you can make a search inside multiple files with most of the files editor software like Komodo Edit
you might also need to use the plugin Multi Vie and click on 'debug template' to see Smarty var and tpl files
Offline