Date: 2012-02-12 11:41 pm (UTC)
It might have been the way you phrased it. My suggested solutions don't actually alter the body text of the nodes in question in the database (rather, only during display), so they would not retain the additions if the nodes were, say, exported somewhere else. To actually change the text of current nodes, SQL probably the simplest solution (although it's not the Drupal Way, which would be to use node_load/node_save in a module or PHP-filter page)—although you'd also want a solution (eg. a module which uses hook_nodeapi/hook_node_presave) to auto-append the same text to any new nodes.

Also, modules are surprisingly simple to write. I feel it's good practice to routinely create a catch-all custom-features module for each new Drupal install, so little bits of functionality like this can be implemented quickly and easily. (Coincidentally, I'm hacking on exactly such a module right now—or would be, had I not taken a break to read some social media. :)
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

tcpip: (Default)
Diary of a B+ Grade Polymath

May 2025

S M T W T F S
    123
4 5678910
1112131415 1617
18192021 222324
25262728293031

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated May. 23rd, 2025 07:14 pm
Powered by Dreamwidth Studios