# Make dashboard / mdashboard template message on connect/disconnect optional

**URL:** <https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979>\
**Category:** Developing Nodes\
**Created:** [8 April 2022 11:48 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979 "2022-04-08T11:48:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ollix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ollix/32/27306_2.png) [@ollix](https://discourse.nodered.org/u/ollix)\
**Post date:** [8 April 2022 11:48 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979/1 "2022-04-08T11:48:43Z")

</div>

Hi y'all,  
I am using **M** dashboard and make heavy use of the template node. That node sends a message, if a client connects / disconnects. I am not sure, if it is introduced by the mdashboard fork or if that message already comes from the original dashboard.  
This message is really enoying, if you don't need it, so I would really like to see it being optional.  
My question here is: Would I create an issue for this feature request (optional out message on connect/disconnect) in dashboard or mdashboard?

Thanks for reading  
:oliver

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [8 April 2022 11:53 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979/2 "2022-04-08T11:53:42Z")

</div>

You should not have both installed at the same time. If you have a issue with node-red-contrib-mdashboard, you should open an issue on the node's [GitHub page](https://github.com/umasudhan/node-red-contrib-mdashboard/issues).

It should be noted that it hasn't been updated in over two years.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [8 April 2022 11:59 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979/3 "2022-04-08T11:59:05Z")

</div>

If you are mostly using the template node, do you get much benefit from using mdashboard anyway?

If not, you could consider moving to uibuilder where you can use any or no framework according to need and preference. uibuilder outputs connect/disconnect and other control messages on a separate port so it can be ignored if you don't need them.

---

<div class="post-metadata">

**Author:** ![ollix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ollix/32/27306_2.png) [@ollix](https://discourse.nodered.org/u/ollix)\
**Post date:** [8 April 2022 15:47 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979/4 "2022-04-08T15:47:38Z")

</div>

I really like the way you try to convince people to use uibuilder 😃  
But as was said before, I rather tweak the template to the max, instead of implementing another dashboard from scratch.

I think to use the template node having a button inside, that sends a message onClick is not so uncommon. And as soon as you do that, you always need a switch to filter out those UI events.

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [8 April 2022 15:53 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979/5 "2022-04-08T15:53:50Z")

</div>

> [@ollix](#):
>
> I really like the way you try to convince people to use uibuilder

Haha, not really trying to convince, but rather to get you to think what is best for you 🙂

> [@ollix](#):
>
> But as was said before, I rather tweak the template to the max, instead of implementing another dashboard from scratch.

Just wanting to check whether you were really using the other features. If you are, find, if not then, as Paul has said, it hasn't been updated in two years which is a long time in this game.

> [@ollix](#):
>
> I think to use the template node having a button inside, that sends a message onClick is not so uncommon

Exactly why the uibuilder fe library has a simple event handler that you can attach to a button that sends data back to node-red with no coding and why my shared web components library has a `button-send` stand alone component that, used with uibuilder, will send a message on-click with only the tag in the html, no code needed at all. And no need to filter out the control msgs because they are on a separate output channel.

Anyway, I'll shut up about uibuilder now 😉

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [7 June 2022 15:54 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979/6 "2022-06-07T15:54:26Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
