nuBuilder Documentation
|
Action Buttons
The Add button is used on the Search Screen, the four other actions buttons are used on the Edit Screen. AddUsed to create a new Record. This is only available on the Search Screen.SaveUsed to save the current Record. This is only available on the Edit Screen.DeleteUsed to delete the current record. Not shown on a new Record. This is only available on the Edit Screen.CloneUsed to clone the current record. Not shown on a new Record. This is only available on the Edit Screen.CloseThe ‘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.Actions Buttons have the following options Button TitlesThe 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?' ButtonYes/No. This determines if the button will be displayed.TitleThe text displayed on the button.Display ConditionAn 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
|
Login |