Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to generate titles when nodes are created but the conditions I use to generate the title only exist at the time of creation. When i edit the node later the title gets broken/changed. I also want the title hidden in the add and edit forms. I had the same problem with Automatic Nodetitles (#1225384: Generate title only on insertion, not on update (D7)). Any suggestions?
Comment | File | Size | Author |
---|---|---|---|
#9 | 2011368-Option-to-not-regenerate-title-on-edit-8.patch | 3.08 KB | paranojik |
Comments
Comment #1
bforchhammer CreditAttribution: bforchhammer commentedInteresting request. Not possible at the moment, as you well know, but definitely sounds like something that we could add...
Care to write a patch? I might do so eventually, but I don't have a lot of spare time at the moment.
Comment #2
Bairnsfather CreditAttribution: Bairnsfather commentedJust tweaking the title. No pun intended. :-)
Comment #3
bunset CreditAttribution: bunset commentedI am needing too not regenerate title on edit, very needed.
Comment #4
klonosComment #5
doub1ejack CreditAttribution: doub1ejack commented+1
Comment #6
baschke CreditAttribution: baschke commentedsame request here :) I had a look into the code but wasn't able to get something working.
Comment #7
codefactory CreditAttribution: codefactory commentedIt is easy to do this by using the php option and some code like this
Comment #8
nithinkolekar CreditAttribution: nithinkolekar commentedalso looking for this feature and can be borrowed from Commerce AutoSKU
Comment #9
paranojik CreditAttribution: paranojik commentedPorted patch from the above mentioned issue on auto node title.
Comment #10
Parkes Design CreditAttribution: Parkes Design commented+ 1 to have this feature