← Back to team overview

mahara-contributors team mailing list archive

[Bug 1046750] Re: Show more of the file name

 

Hi Kristina,

Just wondering if this might also be an approach to address the issue
with filenames being displayed with video and other objects -
https://bugs.launchpad.net/mahara/+bug/1034382

If the code suggested by Dirk could be tweaked with an 'if' statement that modified
 $child->title = str_shorten_text($child->title, 20); to 
$child->title = str_shorten_text($child->title, 0); if the object type was an embedded block rather than a linked file

Of course I could be wildly wrong as these are two different object
types (file links and blocks) - but the principle might be similar?

Thanks, Gordon.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/1046750

Title:
  Show more of the file name

Status in Mahara ePortfolio:
  New

Bug description:
  https://mahara.org/interaction/forum/topic.php?id=4841

  The file names are shortened too quickly when they are long and are
  not easily readable. A potential solution for showing more is proposed
  in the forum discussion, but maybe it can be made more flexible and
  depend on the width of the block?

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1046750/+subscriptions


References