How do I echo the value of a custom file attribute?

Permalink
Hi,

I can´t figure out how to get the value of a custom file attribute such as url? I couldn´t find any help in the docs. Any suggestions?

Thanks in advance,
ben

leaf
 
cannonf700 replied on at Permalink Reply
cannonf700
take a look at this page, it might point you in the right direction.
another good idea is to poke through the code of some blocks in the MP that might do some of what you are trying to do:
http://www.concrete5.org/documentation/developers/files/files-and-f...

take a look at the 'list files from set' block for handy info on how to call a files information.