Print

Action Buttons





The Add button is used on the Search Screen, the four other actions buttons are used on the Edit Screen.

Add

Used to create a new Record. This is only available on the Search Screen.

Save

Used to save the current Record. This is only available on the Edit Screen.

Delete

Used to delete the current record. Not shown on a new Record. This is only available on the Edit Screen.

Clone

Used to clone the current record. Not shown on a new Record. This is only available on the Edit Screen.

Close

The ‘Close’ button is actually a Save and Close button. After a record is saved, instead of refreshing the current ‘Edit Screen’, the ‘Edit Screen’ will close. This is only available on the Edit Screen.

Print

Used to open a Printable report of the Search Screen Results. This report uses the query and layout parameters of the Search Screen to display a flat HTML document that can be printed or copy/pasted into a Spreadsheet. WARNING: as the entire result set will be available on this report, care should be taken when allowing access. This is only available on the Search Screen.


Actions Buttons have the following options

Button Titles


The following variables can be placed in \db\databasename\config.php to globally rename default Action Button titles.

$_SESSION['nu_search_title']      = '';
$_SESSION['nu_sfo_add_title']      = '';
$_SESSION['nu_sfo_print_title']    = '';
$_SESSION['nu_sfo_save_title']     = '';
$_SESSION['nu_sfo_clone_title']    = '';
$_SESSION['nu_sfo_close_title']    = '';
$_SESSION['nu_sfo_delete_title']   = '';
$_SESSION['nu_delete_yes_title']   = '';
$_SESSION['nu_delete_no_title']    = '';
$_SESSION['nu_sure_title']         = '';   //--replaces 'Are You Sure?'


Button

Yes/No. This determines if the button will be displayed.

Title

The text displayed on the button.

Display Condition

An SQL query that returns ‘0’ (hidden) or ‘1’ (displayed). (Hash Variables are allowed here: see Appendix for Hash Variables)
Eg. To hide an Action Button from a User with an Access Level of Guest SELECT IF( '#access_level#' = 'Guest',’0’,’1’)

These display conditions will override any access settings set in Access Levels Access Levels



Created by: system. Last Modification: Thursday 02 of August, 2012 15:46:08 CST by steven.