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.
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
Comment #1
torgormack commentedI 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.
Comment #2
spidermanThis commit adds a checkbox option to the block configuration page to enable displaying filename description instead of filename, if it's available.