Closed (fixed)
Project:
File Entity (fieldable files)
Version:
7.x-2.x-dev
Component:
User interface
Priority:
Major
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
6 Jul 2011 at 09:31 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tsvenson commentedNo new features will be added to the Media 1.x branch, moving to 2.x. Also, this is more likely something that should be added to the File Entity modules, so moving to it as well.
Title has its own column in the file_manage table and being able to edit it should be a standard feature available and easily done from the admin/content/file page.
Permissions will be needed so its possible to set who will be able to edit the title, own, all etc...
Comment #2
dave reidPlease review the following patch. We don't need additional permissions as what we have already is good enough and works exactly like other entity forms and titles.
Comment #3
dave reidComment #4
tsvenson commentedPatch applies cleanly on current dev and works.
Only thing that might be confusing is that users might think that changing the file name will also change the name of the physical file on disk. This is very easy to think since the physical file name now is used automatically.
Maybe we should rename this to "File title" and thus the column name to file_title as well. That would distinguish it from the physical file name.
I've also created #1397652: Add "Filename" field to upload/add media so the file name can be set when a new file is added to the site. It will save a lot of unnecessary steps when adding new files.
Comment #5
dave reidWe can't rename the column of a core table like that. :/
Committed #2 to Git! http://drupalcode.org/project/file_entity.git/commit/d90c3f8