UI editor, when you place menu items, buttons, timers on the UI form, you must associate an action that will be performed when the user clicks the button/menu item:
Note that images can also be associated to an action when they are clicked. However, this is optional.
Go to a page/url,
Execute an HEScript Function,
Execute PHP Code (async)and finally
Apply Changesto save your settings before selecting another control or exiting the UI editor.
Lets you choose a pre-defined action in the list:
Standard actions are not available for images.
Lets you open the page or the URL specified in the application’s browser. You can optionally indicate a target:
_heexternal (open the URL in the external default web browser) or
_henewinstance (start a new instance of the application and open the URL). Finally, if you use frames, the destination frame's name can be indicated.
This is not the way to open a popup. See below.
Do not enter something else for frame if there is no frame in your current webpage. Otherwise, nothing will happen.
Lets you associate an HEScript script procedure or function to the button/menu item/timer.
This will save the specified PHP code to a temporary virtual PHP file in the application's root folder, and let PHP execute the code. When you specify the PHP code you want to execute,
?> must be included! For instance:
<?php include('cron.php') ?>