Adding a new element in the dropdown of the display form

Hi,

How can I add a new button or option in the dropdown seen in the displays box. I’m trying to add a new option called stop to stop the current layout scheduled and play the default layout in the display. Anyone kindly help. Thank you :smile:

You’d need to add two methods to the display controller /lib/pages/display.class.php - one to present a form and the other to take the action.

You should also add your menu item to the existing menu in that same file, DisplayGrid function.

It would be great if you can do this work in a feature branch on a Fork on GitHub. We might be able to use some of your work.

Thank you very much :smile: after completing this we will post our solution.

1 Like

Dan, is there any way to stop schedule for a particular display when it is in a display group?