In News module I've created a custom field (type:file) that I use to upload an image.
In old version of the module I used:
Code: Select all
{$entry->file_location}/{$entry->miniatura}
Now I can get the file name with
Code: Select all
{$field->value}
How can I do?
Thank you