Add new comment

Drupal Customisation - Revision Log Message

I'm currently working on a drupal installation to go up for our school website. Whilst most of Drupals quirks have been sorted and I've actually been quite impressed at what it can do there has been one thing that has been bugging me all morning. When I update a post creating a new revision is annoyingly plants a Log message on the end of my content telling me what has happened and when. All very well for other sites perhaps but no good for us. I've eventually tracked down the offending code and a quick comment out seems to have solved the problem. However thought I'd better document this for future reference so here we go.

In the node.module comment out line 525 giving:

//$node->body .= '<div class="log"><div class="title">'. t('Log') .':</div>'. filter_xss($node->log) .'</div>';
(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.
(If you're a human, don't change the following field)
Your first name.

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.