开发者

Drupal: displaying warnings

开发者 https://www.devze.com 2022-12-30 11:49 出处:网络
how can I disabl开发者_Go百科e warnings for my users in Drupal (and keep them on only for the administrator) ?

how can I disabl开发者_Go百科e warnings for my users in Drupal (and keep them on only for the administrator) ?

thanks


You can't do this yet in Drupal 6. An issue has been created for this.

However, you can disable all on-screen warnings by going to Administer > Site configuration > Error reporting as stated on the Book page for Securing Information from Visitors. Errors will still be viewable by the roles given permission to do so by going to: Admin > Reports.


Go to Administer > Site configuration > Error reporting (admin/settings/error-reporting). There you have a dropdown list under 'Error reporting' with the two choices you have for the error logging, being:

* Write errors to the log.
* Write errors to the log and to the screen.

Choose this option --> Write errors to the log

And save


you can try the Better messages module. Some more details about this module (from its project page):

Better Messages is a very simple module that provides "Popup-like" Drupal messages.

Better Messages intends to let you control where and how you want to see your Drupal messages! Combine different animations and override better_messages.tpl.php to create your custom look.

0

精彩评论

暂无评论...
验证码 换一张
取 消