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.
im using the setting "Automatically generate the title and hide the title field"
id like to check if the title has already been set before using php to make the title because when editing the node the title will change even if its been set already.
the php is basicly a auto incr counter which becomes the title of the node.
how can i do this?
Comments
Comment #1
Antoine Lafontaine CreditAttribution: Antoine Lafontaine commentedThis could easily be done using the rules module changing the node title after its creation using a snippet of PHP.
http://drupal.org/project/rules
Comment #2
manish-31 CreditAttribution: manish-31 as a volunteer commentedComment #3
manish-31 CreditAttribution: manish-31 as a volunteer commentedComment #4
manish-31 CreditAttribution: manish-31 as a volunteer commentedComment #5
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs for DrupalFit commentedComment #6
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs for DrupalFit commented