Drupal: display alerts

how to disable warnings for my users in Drupal (and save them only for the administrator)?

thank

+3
source share
3 answers

You cannot do this in Drupal 6. You have created a problem for this.

However, you can turn off all warnings on the screen by going to "Administration"> "Site Configuration"> "Error Message", as indicated on the Book Page page to ensure the safety of visitors . Errors will still be displayed by roles that are allowed to do this by going to: Admin> Reports.

+4
source

. ( ):

- , "Popup-like" Drupal.

, Drupal! better_messages.tpl.php, .

+1

> a > (admin/settings/error-reporting). " " , :

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

β†’

+1

Source: https://habr.com/ru/post/1745956/


All Articles