views:

91

answers:

2

hi,

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

thanks

+1  A: 

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.

sirhc
isn't there an easier way ? I mean.. maybe by removing a specific permission to the authenticated user, the warnings are not displayed anymore ?
Patrick
Nope, doesn't seem so by the conversation in the issue I posted. It seems that warnings are always shown in the developer environment and in the production environment it's switched off.
sirhc
A: 

you can try the Better messages module http://drupal.org/project/better_messages

barraponto

related questions