aneuryzm
aneuryzm

Reputation: 64834

Drupal: displaying warnings

how can I disable warnings for my users in Drupal (and keep them on only for the administrator) ?

thanks

Upvotes: 3

Views: 7968

Answers (3)

Capi Etheriel
Capi Etheriel

Reputation: 3630

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.

Upvotes: 1

Naresh Babu Pv
Naresh Babu Pv

Reputation: 11

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

Upvotes: 1

sirhc
sirhc

Reputation: 6097

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.

Upvotes: 4

Related Questions