I have a menu item that exits the main app and redirects to login. I would like for it to display a confirmation dialog "Are you sure you want to logout? Any unsaved data will be lost". Would I be able to achieve this with blank php? The only three events available in menu don't allow "Display an error message" or "Display a message". Would this be achievable with a PHP method? Is there anything to disallow a method from being called on one of the three menu events? I haven't tried working with PHP methods in SC yet so I have no idea.
No announcement yet.
Logout confirmation dialog box