Added an after cancel custom code area also in connection with gh-418 in the admin view.

This commit is contained in:
2019-06-12 22:36:05 +02:00
parent eae13dff06
commit f03c6f5204
47 changed files with 4081 additions and 3952 deletions

View File

@ -153,6 +153,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`add_javascript_view_footer` TINYINT(1) NOT NULL DEFAULT 0,
`add_javascript_views_file` TINYINT(1) NOT NULL DEFAULT 0,
`add_javascript_views_footer` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_after_cancel` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_after_delete` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_after_publish` TINYINT(1) NOT NULL DEFAULT 0,
`add_php_ajax` TINYINT(1) NOT NULL DEFAULT 0,
@ -198,6 +199,7 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
`mysql_table_row_format` VARCHAR(64) NOT NULL DEFAULT 0,
`name_list` CHAR(64) NOT NULL DEFAULT '',
`name_single` CHAR(64) NOT NULL DEFAULT '',
`php_after_cancel` MEDIUMTEXT NOT NULL,
`php_after_delete` MEDIUMTEXT NOT NULL,
`php_after_publish` MEDIUMTEXT NOT NULL,
`php_ajaxmethod` MEDIUMTEXT NOT NULL,
@ -255,25 +257,25 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_add_php_allowadd` (`add_php_allowadd`),
KEY `idx_add_php_save` (`add_php_save`),
KEY `idx_add_php_getform` (`add_php_getform`),
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
KEY `idx_name_list` (`name_list`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_add_fadein` (`add_fadein`),
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
KEY `idx_add_sql` (`add_sql`),
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
KEY `idx_mysql_table_engine` (`mysql_table_engine`),
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
KEY `idx_mysql_table_collate` (`mysql_table_collate`),
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_type` (`type`),
KEY `idx_add_php_getlistquery` (`add_php_getlistquery`),
KEY `idx_add_php_before_save` (`add_php_before_save`),
KEY `idx_add_php_postsavehook` (`add_php_postsavehook`),
KEY `idx_add_php_allowedit` (`add_php_allowedit`),
KEY `idx_add_php_batchcopy` (`add_php_batchcopy`),
KEY `idx_add_php_before_publish` (`add_php_before_publish`),
KEY `idx_add_php_before_delete` (`add_php_before_delete`),
KEY `idx_add_php_document` (`add_php_document`),
KEY `idx_mysql_table_collate` (`mysql_table_collate`),
KEY `idx_add_custom_import` (`add_custom_import`),
KEY `idx_name_list` (`name_list`),
KEY `idx_add_php_after_cancel` (`add_php_after_cancel`),
KEY `idx_add_php_batchmove` (`add_php_batchmove`),
KEY `idx_add_php_after_publish` (`add_php_after_publish`),
KEY `idx_add_php_after_delete` (`add_php_after_delete`),
KEY `idx_mysql_table_engine` (`mysql_table_engine`),
KEY `idx_add_sql` (`add_sql`),
KEY `idx_add_css_view` (`add_css_view`),
KEY `idx_add_css_views` (`add_css_views`),
KEY `idx_add_javascript_view_file` (`add_javascript_view_file`),
@ -283,10 +285,11 @@ CREATE TABLE IF NOT EXISTS `#__componentbuilder_admin_view` (
KEY `idx_add_custom_button` (`add_custom_button`),
KEY `idx_mysql_table_charset` (`mysql_table_charset`),
KEY `idx_mysql_table_row_format` (`mysql_table_row_format`),
KEY `idx_source` (`source`),
KEY `idx_add_php_ajax` (`add_php_ajax`),
KEY `idx_source` (`source`),
KEY `idx_add_php_getitem` (`add_php_getitem`),
KEY `idx_add_php_getitems` (`add_php_getitems`)
KEY `idx_add_php_getitems` (`add_php_getitems`),
KEY `idx_add_php_getitems_after_all` (`add_php_getitems_after_all`)
) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8mb4 DEFAULT COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;
CREATE TABLE IF NOT EXISTS `#__componentbuilder_custom_admin_view` (