# Add new button beside Deploy

**URL:** <https://discourse.nodered.org/t/add-new-button-beside-deploy/26702>\
**Category:** Core Development\
**Created:** [15 May 2020 13:01 UTC](https://discourse.nodered.org/t/add-new-button-beside-deploy/26702 "2020-05-15T13:01:14Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhpatel177](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dhpatel177/32/39248_2.png) [@dhpatel177](https://discourse.nodered.org/u/dhpatel177)\
**Post date:** [15 May 2020 13:01 UTC](https://discourse.nodered.org/t/add-new-button-beside-deploy/26702/1 "2020-05-15T13:01:14Z")

</div>

Hello,  
can it be possible to put new button with name "save" besides Deploy button and on click of this button just want to fire some event and hide deploy button.

Please guide me.

Thanks.

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [15 May 2020 13:25 UTC](https://discourse.nodered.org/t/add-new-button-beside-deploy/26702/2 "2020-05-15T13:25:53Z")

</div>

Hi @dhpatel177

I'm sure we've had this conversation in slack a couple weeks ago. Maybe it wasn't you, but you are asking _exactly_ the same questions I've already answered there.

Using the `editorTheme` setting, you can add whatever custom javascript you want to the page.

Using that you can write some code that hides the button and adds your custom button however you want.

[https://nodered.org/docs/user-guide/runtime/configuration#editor-themes](https://nodered.org/docs/user-guide/runtime/configuration#editor-themes)

---

<div class="post-metadata">

**Author:** ![afelix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/afelix/32/9743_2.png) [@afelix](https://discourse.nodered.org/u/afelix)\
**Post date:** [15 May 2020 13:36 UTC](https://discourse.nodered.org/t/add-new-button-beside-deploy/26702/3 "2020-05-15T13:36:12Z")

</div>

It’s a different user here, as I thought the same thing when reading the first topic.

Hi Darshan, it’s good to see you back. Have you checked out the suggestions from your previous thread, to set up your flow saving/loading through a storage plugin instead? Or, if your goal is still to modify the core itself, have you studied up on the topics I told you to?

> [@How to modify node-red deploy operation to save flow to database](https://discourse.nodered.org/t/how-to-modify-node-red-deploy-operation-to-save-flow-to-database/26568/16):
>
> Darshan, the function that is called when you press the deploy button lives in the runtime of node-red: this is server code, on nodejs. The code you have added to it uses jquery. Jquery is a framework for interacting with DOM structures in the browser, meaning it is clientside code. If you want to do this, start by learning the difference between clientside and serverside, and learn some nodejs basics. Next, figure out a way to call http apis from nodejs. The error you’re seeing is the call to…

Nick’s solution definitely sounds like an easy way, but are you making sure it works when populating it not with just test names as well?

---

<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:** [14 July 2020 13:36 UTC](https://discourse.nodered.org/t/add-new-button-beside-deploy/26702/4 "2020-07-14T13:36:15Z")

</div>

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