<p>There’s no such thing as a “global” widget right row, however your widget’s <code>getBodyHtml()</code> method can return <code>false</code>, which tells Craft to not show the widget at all. So you could just have the widget assigned to all the user accounts you want, and always return <code>false</code> unless there’s actually something to display.</p>

CC BY-SA 3.0
2014-10-16T11:08:49.153Z
2014-10-16T11:08:49.153Z
Brandon Kelly
<p>Is it possible to create a Custom Widget that behaves like the 'Deprecation Errors' warning on the Dashboard? When active, the widget would appear on all users', or particular user groups, dashboards at the top and display new information, warnings and anything else that may be of use.</p>

CC BY-SA 3.0
2014-10-15T09:19:47.040Z
I'm not a plugin developer so I can't help you out here, but there are some docs on the Craft site that might be of help: http://buildwithcraft.com/docs/plugins/widgets
Jamie Wade
CC BY-SA 3.0
2014-10-15T16:36:07.390Z
I've created Widgets before and that's no problem... I guess the question is more around exposing the widget to users i.e. adding the widget to all users', or  user groups', dashboards.
Neal Hulme
<dashboard-widgets><dashboard>
Global User Notification Widget
# Global User Notification Widget

(Asked by: username_0 on 2014-10-15)

Is it possible to create a Custom Widget that behaves like the 'Deprecation Errors' warning on the Dashboard? When active, the widget would appear on all users', or particular user groups, dashboards at the top and display new information, warnings and anything else that may be of use.

**Tags:** dashboard-widgets, dashboard

> **Comments:**
> **username_1**: I'm not a plugin developer so I can't help you out here, but there are some docs on the Craft site that might be of help: http://buildwithcraft.com/docs/plugins/widgets  
> **username_0**: I've created Widgets before and that's no problem... I guess the question is more around exposing the widget to users i.e. adding the widget to all users', or  user groups', dashboards.  

---

## 1 answers

### Answer by username_2 on 2014-10-16. Score: 1 | Accepted answer

There’s no such thing as a “global” widget right row, however your widget’s `getBodyHtml()` method can return `false`, which tells Craft to not show the widget at all. So you could just have the widget assigned to all the user accounts you want, and always return `false` unless there’s actually something to display.


---

