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 have a CCK date field of which I'd like the start and end date to be used in the node title. To achieve this I use token [field_date-view].
The strangest thing happens... As soon as I edit the start and/or end date of an existing node, the previous values of this field are still used in the node title. Only when I edit and save the node again (without changing anything) the node title is changed accordingly.
I also tried the 6.x-1.x-dev, same problem.
Comments
Comment #1
Tino CreditAttribution: Tino commentedAlthough it is not a fix, I found a workaround using Rules module:
Add rule on event: After updating existing content
If: Saved content is ... (Training in my case)
Do: Execute custom PHP code
Thanks @takinola: http://drupal.org/node/360359#comment-1460918
via @OnlineWD™ in http://drupal.org/node/797904
Comment #2
Sinan Erdem CreditAttribution: Sinan Erdem commentedConfirming.
Comment #3
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs for DrupalFit commentedComment #4
gaurav.kapoor CreditAttribution: gaurav.kapoor at OpenSense Labs for DrupalFit commented