Posted by kruser on March 27, 2009 at 9:23pm
Jump to:
| Project: | Media Mover |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | arthurf |
| Status: | needs review |
Issue Summary
When creating a new node from each file, is there a way to set the new node title as the filename?
Comments
#1
I've committed this fix, however, it strikes me that this should support token replacements here. I'm changing the title and leaving the issue open.
#2
Thanks
#3
What would the token be to indicate the upload filename?
#4
It doesn't do token replacement yet, but it should- at some point in the near future I'll try to make that happen
#5
new node title as the filename, is an existing feature?
I only sees Default title & Default body.
If a title is not passed in, this will be the default node title. So when I put a default title here, all file uploaded have the same title, which difficult to trace which is which.
#6
I just roughed out some code for this- please see latest dev commit. I have not tested this code at all, so tread with care.