Closed (fixed)
Project:
Transliteration
Version:
6.x-2.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2009 at 15:53 UTC
Updated:
8 Oct 2009 at 19:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
smk-ka commentedIt wasn't possible — until now. I've just committed a small patch to transliteration which stores the original/unaltered filename in $_FILES['files']['orig_name'][<field_name>]. This information can then be accessed by other modules that wish to make use of it.
For demonstration purposes I've written a small module which fulfills what you asked for: it integrates with filefield and sets the description text to the original filename for newly uploaded files.