Thanks for this module! In some special cases, it is difficult to achieve this functionality with views.
For the request, as in title: an option to show file description instead of filename would be great.

Comments

torgormack’s picture

I also wanted this functionality and I managed to work out that if you replace the line
$link['title'] = $file->filename;
at about line 175 in the links_block.module file with the following line
$link['title'] = empty($file->description) ? $file->filename : $file->description;

You will get the description if there is one but just the filename if there is no description.

I don't know how to do a patch but give it a try.

spiderman’s picture

Status: Active » Closed (fixed)

This commit adds a checkbox option to the block configuration page to enable displaying filename description instead of filename, if it's available.