Needs review
Project:
Media Mover
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
27 Mar 2009 at 21:23 UTC
Updated:
2 Mar 2010 at 04:19 UTC
When creating a new node from each file, is there a way to set the new node title as the filename?
Comments
Comment #1
arthurf commentedI'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.
Comment #2
kruser commentedThanks
Comment #3
kruser commentedWhat would the token be to indicate the upload filename?
Comment #4
arthurf commentedIt doesn't do token replacement yet, but it should- at some point in the near future I'll try to make that happen
Comment #5
najibx commentednew 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.
Comment #6
arthurf commentedI just roughed out some code for this- please see latest dev commit. I have not tested this code at all, so tread with care.