<p>To me, this seems like a great use case for a custom <a href="http://buildwithcraft.com/docs/plugins/widgets" rel="nofollow">dashboard widget</a>.</p>

CC BY-SA 3.0
2014-10-09T03:25:33.337Z
Are you thinking of a kind of a dashboard log? That's an interesting idea. Fyi, this is not being done in batches, I am simply tapping into the onSaveEntry to trigger the create/update on the other records. I'm currently throwing errors, using logs, and userSession->setNotice/setError. Not ideal but works ok.
Douglas McDonald
CC BY-SA 3.0
2014-10-08T22:22:46.747Z
2014-10-08T22:22:46.747Z
Brandon Kelly
<p>Is there a recommended way to provide user feedback in the control panel — something like a modal window with a simple 'ok' button to dismiss?</p>

<p>I am writing a plugin that syncs data between users, another channel ('accounts'), and an external service (Braintree), using saveEntry and saveUser events to create/update related records as needed. I would like to provide user feedback in the way of a modal window that reports what related records were created and/or updated. What would be the recommended 'Craft' way to implement this user feedback modal? Or is there something already built-in to support this and how might I access it? I see some advice here regarding <a href="https://craftcms.stackexchange.com/questions/374/how-can-my-plugin-generate-a-generic-modal-window-in-the-control-panel">generating a generic modal window</a>, but not sure the best way to integrate this within my plugin. Any advice would be appreciated even if very general.</p>

<plugin-development><modal>
Recommended way to provide user feedback in the control panel?
# Recommended way to provide user feedback in the control panel?

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

Is there a recommended way to provide user feedback in the control panel — something like a modal window with a simple 'ok' button to dismiss?

I am writing a plugin that syncs data between users, another channel ('accounts'), and an external service (Braintree), using saveEntry and saveUser events to create/update related records as needed. I would like to provide user feedback in the way of a modal window that reports what related records were created and/or updated. What would be the recommended 'Craft' way to implement this user feedback modal? Or is there something already built-in to support this and how might I access it? I see some advice here regarding [generating a generic modal window](https://craftcms.stackexchange.com/questions/374/how-can-my-plugin-generate-a-generic-modal-window-in-the-control-panel), but not sure the best way to integrate this within my plugin. Any advice would be appreciated even if very general.

**Tags:** plugin-development, modal


---

## 1 answers

### Answer by username_1 on 2014-10-08. Score: 2 | Accepted answer

To me, this seems like a great use case for a custom [dashboard widget](http://buildwithcraft.com/docs/plugins/widgets).

> **Comments:**
> **username_0**: Are you thinking of a kind of a dashboard log? That's an interesting idea. Fyi, this is not being done in batches, I am simply tapping into the onSaveEntry to trigger the create/update on the other records. I'm currently throwing errors, using logs, and userSession->setNotice/setError. Not ideal but works ok.  

---

