2.07 Custom Actions - andperry256/my-base-theme-and-dbadmin GitHub Wiki

Custom Actions

When a page is loaded to perform a given action on a table/record the standard built-in procedure for the action will normally be executed. It is possible however to replace the standard procedure with a custom procedure, but placing a custom script of an appropriate name into the directory that contains the given table class.

  • A custom procedure for the list action is created by placing a script custom_list.php in the table class directory.
  • A custom procedure for the edit action is created by placing a script custom_edit.php in the table class directory.
  • A custom procedure for the view action is created by placing a script custom_view.php in the table class directory.
  • A custom procedure for the new action is created by placing a script custom_new.php in the table class directory.