Added the option to add custom tabs to the edit view of any admin view
This commit is contained in:
@ -700,8 +700,8 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
|
||||
$tables = array(
|
||||
'validation_rule', 'fieldtype', 'field', 'admin_view', 'snippet', 'dynamic_get', 'custom_admin_view', 'site_view',
|
||||
'template', 'layout', 'joomla_component', 'language', 'language_translation', 'custom_code',
|
||||
'admin_fields', 'admin_fields_conditions', 'admin_fields_relations', 'component_admin_views', 'component_site_views',
|
||||
'component_custom_admin_views', 'component_updates', 'component_mysql_tweaks',
|
||||
'admin_fields', 'admin_fields_conditions', 'admin_fields_relations', 'admin_custom_tabs', 'component_admin_views',
|
||||
'component_site_views', 'component_custom_admin_views', 'component_updates', 'component_mysql_tweaks',
|
||||
'component_custom_admin_menus', 'component_config', 'component_dashboard', 'component_files_folders'
|
||||
);
|
||||
// get prefix
|
||||
@ -2161,6 +2161,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
|
||||
case 'admin_fields':
|
||||
case 'admin_fields_conditions':
|
||||
case 'admin_fields_relations':
|
||||
case 'admin_custom_tabs':
|
||||
// diverged id already updated
|
||||
if (!$diverged)
|
||||
{
|
||||
@ -2217,7 +2218,10 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
|
||||
$item = ComponentbuilderHelper::convertRepeatableFields($item, $updaterR);
|
||||
}
|
||||
// update the subform ids
|
||||
$this->updateSubformsIDs($item, $type, $updaterT);
|
||||
if (isset($updaterT) && ComponentbuilderHelper::checkArray($updaterT))
|
||||
{
|
||||
$this->updateSubformsIDs($item, $type, $updaterT);
|
||||
}
|
||||
}
|
||||
// remove all fields/columns not part of the current table
|
||||
$this->removingFields($type, $item);
|
||||
@ -2613,6 +2617,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
|
||||
case 'admin_fields':
|
||||
case 'admin_fields_conditions':
|
||||
case 'admin_fields_relations':
|
||||
case 'admin_custom_tabs':
|
||||
// get by admin_view (since there should only be one of each name)
|
||||
$getter = array('admin_view');
|
||||
$this->specialValue = array();
|
||||
|
Reference in New Issue
Block a user