2

I wanted to add a word in front of the title for certain nodes. So I run an update sql statement on nodes table. The result can be seen in the attached image. Result after updating the table

I empty the cache (flush all) but my new titles still do not appear on the website. Should I update in a different place in database also? Do I have to do something else to see the new titles?

Thanks in advance for helping me out with this !

1 Answer 1

4

I am pretty sure you have to update "node_revision" too.

https://www.drupal.org/node/320614

Note that the node_revisions table in the database will always have one record associated with each record in the node table, which it keeps track of as the current revision. This will happen even if you do not have revisions enabled.

1
  • Thanks a lot for the effort. I just run an update statement and it fixed the problem. No flush caching necessary. Thanks again. Commented Sep 14, 2016 at 6:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.