Download & Extend

Node titles should support tokens

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

Title:filename as node title» Node titles should support tokens
Component:User interface» Code
Category:support request» task
Assigned to:Anonymous» arthurf

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

Status:active» postponed (maintainer needs more info)

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

Version:6.x-1.0-beta1» 6.x-1.x-dev
Status:postponed (maintainer needs more info)» needs review

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.

nobody click here