Having a live drupal website, that needs to be upgraded, or just a simple task such as adding Languages or changing a Themes, we would like to hold all content changes, till the work is done.
We found a nice module to set the site for Read-Only mode
http://drupal.org/project/readonlymode
Using the module is simple, just need to check the box, and the site moves to a Read-Only mode
The only thing missing in that module was that it still allows to add comments.
Since we consider comments an important type of content,
we wrote a code to block user comments update as well:
Liked it? Have a Question on it?
Write a comment
The Devart Team









