By KingHenry on
Hi
A simple question really. Did a few searches already and couldnt find anyone who was trying to do this.
How to hide "Operating in off-line mode." ?
So it set the site offline, because I'm developing it still. Now I'd like to get rid of that annoying message, as it really confuses me when trying to get the page looks right. Is there an easy way to achieve this?
Regards
Henry
Comments
you could also put the site
you could also put the site on-line, and then protect the site with a password.
http://webdesign.about.com/od/htaccess/ht/hthtaccess.htm
Unfortunately not an option
Thanks for your reply. A brilliant idea. Unfortunately that doesnt server the purpose this time, as at the moment Im still letting my test users to the site thru the page/user page. That approach would make that a bit harder. :)
Any other ideas? ;)
could put something like this
could put something like this in your theme's preprocess_page function to remove it and still have any other messages still displayed.
That code left an unclosed
That code left an unclosed div in my messages. But anyways, you should altar the data before its themed as Its cleaner and faster than regexing the themed output.
Just throw this in your template.php...
Thank you for this. I always
Thank you for this. I always like to hide this while I'm theming stuffs.
How to do this in D7?
How to do this in D7?