I cannot seem to get a handle on this one.
I have my menu and want to add an Item to run some code. That code must run conditionally so I assumed I could create a Page with a button on (does not need to be fancy) and then when the button is pressed the code is run or the page closed.
I cannot seem to get started. I can add a menu item of course but sort of going round in circles. Any advice appreciated.
John