You are not logged in.
Pages: 1
Hello,
I am using the File Reference field type in one of my modules and it puts the file id into the database. I am trying to point to that file in a template but only have the id to refer to. What is the best way to get file information such as name? I can create my own function to get it but is there a bigtree function?
There is a getFile function but that refers to cloud storage.
Thanks
Offline
You can use the BigTreeCMS::getResource call to grab that file's information:
https://www.bigtreecms.org/developers/c … etResource
Offline
Great, thanks Tim!
Offline
Pages: 1