Closed (fixed)
Project:
Inline
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Jan 2009 at 12:53 UTC
Updated:
26 Aug 2009 at 03:30 UTC
When you attach a file to a node, using Drupal's upload module, it is possible to give a description or title to the file. This is displayed instead of the filename in the file attachments listing at the bottom of the node.
It'd be nice if the inline module would default to using this description as the link title instead of the filename when no title is provided with the [inline:xx] tag.
Cheers,
Stella
Comments
Comment #1
stella commentedI managed to implement this by overriding the theme function like:
It might be an idea to incorporate this change anyway. It's a nice feature to have. You may not even need $file->filename as the description defaults to the filename. However, there's no harm keeping it in case they set the description field to be blank.
Cheers,
Stella
Comment #2
bitsize commentedThank You Stella.... Very Helpful!
Comment #3
sunThis has been already fixed in 6.x-2.x - somehow.
Thanks for reporting, reviewing, and testing!