New option: "Automatically generate the title if the title field is left empty and hide the title field"

FiNeX - April 7, 2009 - 22:02
Project:Automatic Nodetitles
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:won't fix
Description

Hi! On a project I'm developing I've had the need of automatically generate the title (if the title field is left empty) and keep the title field ever hidden.
I've added the option to the module and I've created a patch. If you want you can integrate it on the module.

It is useful to automatically generate the node title only when the node is created. The node title will not be editable by the user and it won't be updated anymore.

AttachmentSize
auto_nodetitle-add_option.patch2.51 KB

#1

justindodge - July 23, 2009 - 21:27
Status:needs review» reviewed & tested by the community

Perfect, exactly what I was looking for!
The patch works great.

#2

justindodge - July 23, 2009 - 21:30
Status:reviewed & tested by the community» needs work

Oops - I spoke slightly too soon. The patch works great except that with the new option selected, choosing "Update automatic nodetitles" from the administer content page (admin/content/node) will not regenerate the selected titles.

#3

FiNeX - July 24, 2009 - 10:59

Some suggestion?

#4

fago - July 31, 2009 - 11:56
Status:needs work» won't fix

I think it's gonna be confusing if we add yet another slightly different method.

 
 

Drupal is a registered trademark of Dries Buytaert.