fixed gh-383 to insure the new button works on frontend/site. Improved the JCB package import to also now import the new placeholder feature values correctly.
This commit is contained in:
@ -699,7 +699,7 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
|
||||
// the array of tables to store
|
||||
$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',
|
||||
'template', 'layout', 'joomla_component', 'language', 'language_translation', 'custom_code', 'placeholder',
|
||||
'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',
|
||||
@ -2746,6 +2746,10 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
|
||||
$retryAgain = 2;
|
||||
}
|
||||
break;
|
||||
case 'placeholder':
|
||||
// search for placeholder (since there should only be one)
|
||||
$getter = 'target';
|
||||
break;
|
||||
case 'custom_code':
|
||||
// search for custom code
|
||||
$getter = array('comment_type', 'target');
|
||||
|
Reference in New Issue
Block a user