Pulling File Title and Description from FileManager

Hi Is it possible to edit the File Block, so that instead of inputting a title field, it pulls the title and description from the file properties in file manager, so all you do is select the file and it does the rest?

Can it also pull the thumbnail used in the filemanager (less important)


View Replies: View Best Answer
okhayat replied on at Permalink Best Answer Reply
You can either modify the main block view (view.php) or make a template out of it (copy it to /blocks/file/templates/view.php) and use the functions:
$f->getTitle() and $f->getDescription() to get the Title and Description of the file respectively.
OnsiteDesigner replied on at Permalink Reply
Excellent answer, thanks, just what I was looking for ;-)
cgrauer replied on at Permalink Reply
In some earlier versions the title from file manager was automatically taken as default value for the title. This was very useful. I don't know why this feature was cacelled. It made it possible to use the dafault title as well as custom titles.