Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I am trying to supress the green Cron messages for users that are not Admin. I have tried editing the themes page.tpl.php with
//USER NOT ADMIN
if ($user->uid !== admin->id) {
if ($messages) {
print $messages;
}
}
but no luck. Any help would be appreciated.
Comment | File | Size | Author |
---|---|---|---|
messages.PNG | 84.34 KB | Nathan134 |
Comments
Comment #2
Argus CreditAttribution: Argus as a volunteer commentedI have never seen these messages before. You must have changed something to the default OA install to generate them. Could you post steps to reproduce them from a regular OA installation? Did you add or activate any modules?