Added lots more demo data on Github to help demonstrate the ease of use. Adding feature to insert custom scripting during install. Adding easy issue tracking, and member notice board. Many bug fixes, to the compiler and general improvements.
This commit is contained in:
44
script.php
44
script.php
@ -10,13 +10,12 @@
|
||||
|_|
|
||||
/-------------------------------------------------------------------------------------------------------------------------------/
|
||||
|
||||
@version 2.1.21
|
||||
@build 11th September, 2016
|
||||
@version 2.2.0
|
||||
@build 23rd October, 2016
|
||||
@created 30th April, 2015
|
||||
@package Component Builder
|
||||
@subpackage script.php
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
|
||||
@my wife Roline van der Merwe <http://www.vdm.io/>
|
||||
@author Llewellyn van der Merwe <https://www.vdm.io/joomla-component-builder>
|
||||
@copyright Copyright (C) 2015. All Rights Reserved
|
||||
@license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
@ -39,7 +38,6 @@ class com_componentbuilderInstallerScript
|
||||
/**
|
||||
* method to install the component
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
function install($parent)
|
||||
@ -1222,18 +1220,28 @@ class com_componentbuilderInstallerScript
|
||||
*/
|
||||
function preflight($type, $parent)
|
||||
{
|
||||
// get application
|
||||
$app = JFactory::getApplication();
|
||||
// is redundant ...hmmm
|
||||
if ($type == 'uninstall')
|
||||
{
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
$app = JFactory::getApplication();
|
||||
// the default for both install and update
|
||||
$jversion = new JVersion();
|
||||
if (!$jversion->isCompatible('3.4.1'))
|
||||
if (!$jversion->isCompatible('3.6.0'))
|
||||
{
|
||||
$app->enqueueMessage('Please upgrade to at least Joomla! 3.4.1 before continuing!', 'error');
|
||||
$app->enqueueMessage('Please upgrade to at least Joomla! 3.6.0 before continuing!', 'error');
|
||||
return false;
|
||||
}
|
||||
// do any updates needed
|
||||
if ($type == 'update')
|
||||
{
|
||||
}
|
||||
// do any install needed
|
||||
if ($type == 'install')
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -1255,9 +1263,9 @@ class com_componentbuilderInstallerScript
|
||||
$component->type_title = 'Componentbuilder Component';
|
||||
$component->type_alias = 'com_componentbuilder.component';
|
||||
$component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","update_server_ftp":"update_server_ftp","debug_linenr":"debug_linenr","add_email_helper":"add_email_helper","update_server":"update_server","number":"number","description":"description","adduikit":"adduikit","bom":"bom","php_admin_event":"php_admin_event","image":"image","add_update_server":"add_update_server","php_site_event":"php_site_event","php_dashboard_methods":"php_dashboard_methods","add_css":"add_css","php_helper_admin":"php_helper_admin","name":"name","php_helper_site":"php_helper_site","email":"email","sql":"sql","website":"website","addreadme":"addreadme","copyright":"copyright","add_sales_server":"add_sales_server","add_license":"add_license","license_type":"license_type","emptycontributors":"emptycontributors","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","creatuserhelper":"creatuserhelper","addfootable":"addfootable","css":"css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required","sales_server_ftp":"sales_server_ftp"}}';
|
||||
$component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","php_helper_site":"php_helper_site","add_css":"add_css","debug_linenr":"debug_linenr","update_server":"update_server","description":"description","php_helper_admin":"php_helper_admin","bom":"bom","update_server_ftp":"update_server_ftp","image":"image","name":"name","add_update_server":"add_update_server","sql":"sql","adduikit":"adduikit","add_php_preflight_install":"add_php_preflight_install","add_email_helper":"add_email_helper","add_php_postflight_install":"add_php_postflight_install","php_admin_event":"php_admin_event","add_php_method_uninstall":"add_php_method_uninstall","php_site_event":"php_site_event","email":"email","php_dashboard_methods":"php_dashboard_methods","website":"website","add_php_preflight_update":"add_php_preflight_update","copyright":"copyright","add_php_postflight_update":"add_php_postflight_update","add_license":"add_license","addreadme":"addreadme","license_type":"license_type","add_sales_server":"add_sales_server","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","creatuserhelper":"creatuserhelper","addfootable":"addfootable","css":"css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","php_preflight_install":"php_preflight_install","php_preflight_update":"php_preflight_update","php_postflight_install":"php_postflight_install","php_postflight_update":"php_postflight_update","php_method_uninstall":"php_method_uninstall","readme":"readme","emptycontributors":"emptycontributors","not_required":"not_required","number":"number","sales_server_ftp":"sales_server_ftp"}}';
|
||||
$component->router = 'ComponentbuilderHelperRoute::getComponentRoute';
|
||||
$component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","add_email_helper","number","adduikit","add_update_server","add_css","addreadme","add_sales_server","add_license","license_type","emptycontributors","creatuserhelper","addfootable","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
||||
$component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_css","debug_linenr","add_update_server","adduikit","add_php_preflight_install","add_email_helper","add_php_postflight_install","add_php_method_uninstall","add_php_preflight_update","add_php_postflight_update","add_license","addreadme","license_type","add_sales_server","creatuserhelper","addfootable","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","emptycontributors","not_required","number"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
||||
|
||||
// Set the object into the content types table.
|
||||
$component_Inserted = $db->insertObject('#__content_types', $component);
|
||||
@ -1329,7 +1337,7 @@ class com_componentbuilderInstallerScript
|
||||
$dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","getcustom":"getcustom","pagination":"pagination","php_after_getitem":"php_after_getitem","php_before_getitems":"php_before_getitems","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","php_getlistquery":"php_getlistquery","view_selection":"view_selection","php_after_getitems":"php_after_getitems","db_table_main":"db_table_main","php_calculation":"php_calculation","db_selection":"db_selection","add_php_before_getitem":"add_php_before_getitem","add_php_after_getitem":"add_php_after_getitem","add_php_getlistquery":"add_php_getlistquery","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","addcalculation":"addcalculation","php_custom_get":"php_custom_get","not_required":"not_required"}}';
|
||||
$dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute';
|
||||
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","pagination","view_table_main","add_php_before_getitem","add_php_after_getitem","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"},{"sourceColumn": "db_table_main","targetTable": "","targetColumn": "","displayColumn": ""}]}';
|
||||
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","pagination","view_table_main","add_php_before_getitem","add_php_after_getitem","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||
|
||||
// Set the object into the content types table.
|
||||
$dynamic_get_Inserted = $db->insertObject('#__content_types', $dynamic_get);
|
||||
@ -1412,7 +1420,7 @@ class com_componentbuilderInstallerScript
|
||||
|
||||
// Field to update.
|
||||
$fields = array(
|
||||
$db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"info@vdm.io","minify":"0","check_in":"-1 day","save_history":"1","history_limit":"10","titleContributor1":"My Wife","nameContributor1":"Roline van der Merwe","emailContributor1":"info@vdm.io","linkContributor1":"http://www.vdm.io/","useContributor1":"2","showContributor1":"3","uikit_load":"1","uikit_min":"","uikit_style":""}'),
|
||||
$db->quoteName('params') . ' = ' . $db->quote('{"autorName":"Llewellyn van der Merwe","autorEmail":"info@vdm.io","minify":"0","check_in":"-1 day","save_history":"1","history_limit":"10","uikit_load":"1","uikit_min":"","uikit_style":""}'),
|
||||
);
|
||||
|
||||
// Condition.
|
||||
@ -1439,9 +1447,9 @@ class com_componentbuilderInstallerScript
|
||||
$component->type_title = 'Componentbuilder Component';
|
||||
$component->type_alias = 'com_componentbuilder.component';
|
||||
$component->table = '{"special": {"dbtable": "#__componentbuilder_component","key": "id","type": "Component","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","update_server_ftp":"update_server_ftp","debug_linenr":"debug_linenr","add_email_helper":"add_email_helper","update_server":"update_server","number":"number","description":"description","adduikit":"adduikit","bom":"bom","php_admin_event":"php_admin_event","image":"image","add_update_server":"add_update_server","php_site_event":"php_site_event","php_dashboard_methods":"php_dashboard_methods","add_css":"add_css","php_helper_admin":"php_helper_admin","name":"name","php_helper_site":"php_helper_site","email":"email","sql":"sql","website":"website","addreadme":"addreadme","copyright":"copyright","add_sales_server":"add_sales_server","add_license":"add_license","license_type":"license_type","emptycontributors":"emptycontributors","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","creatuserhelper":"creatuserhelper","addfootable":"addfootable","css":"css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","readme":"readme","not_required":"not_required","sales_server_ftp":"sales_server_ftp"}}';
|
||||
$component->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "readme","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"system_name":"system_name","name_code":"name_code","component_version":"component_version","short_description":"short_description","companyname":"companyname","author":"author","php_helper_site":"php_helper_site","add_css":"add_css","debug_linenr":"debug_linenr","update_server":"update_server","description":"description","php_helper_admin":"php_helper_admin","bom":"bom","update_server_ftp":"update_server_ftp","image":"image","name":"name","add_update_server":"add_update_server","sql":"sql","adduikit":"adduikit","add_php_preflight_install":"add_php_preflight_install","add_email_helper":"add_email_helper","add_php_postflight_install":"add_php_postflight_install","php_admin_event":"php_admin_event","add_php_method_uninstall":"add_php_method_uninstall","php_site_event":"php_site_event","email":"email","php_dashboard_methods":"php_dashboard_methods","website":"website","add_php_preflight_update":"add_php_preflight_update","copyright":"copyright","add_php_postflight_update":"add_php_postflight_update","add_license":"add_license","addreadme":"addreadme","license_type":"license_type","add_sales_server":"add_sales_server","whmcs_key":"whmcs_key","whmcs_url":"whmcs_url","license":"license","creatuserhelper":"creatuserhelper","addfootable":"addfootable","css":"css","add_php_helper_admin":"add_php_helper_admin","add_admin_event":"add_admin_event","add_php_helper_site":"add_php_helper_site","add_site_event":"add_site_event","add_sql":"add_sql","add_php_dashboard_methods":"add_php_dashboard_methods","php_preflight_install":"php_preflight_install","php_preflight_update":"php_preflight_update","php_postflight_install":"php_postflight_install","php_postflight_update":"php_postflight_update","php_method_uninstall":"php_method_uninstall","readme":"readme","emptycontributors":"emptycontributors","not_required":"not_required","number":"number","sales_server_ftp":"sales_server_ftp"}}';
|
||||
$component->router = 'ComponentbuilderHelperRoute::getComponentRoute';
|
||||
$component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","debug_linenr","add_email_helper","number","adduikit","add_update_server","add_css","addreadme","add_sales_server","add_license","license_type","emptycontributors","creatuserhelper","addfootable","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
||||
$component->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/component.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","add_css","debug_linenr","add_update_server","adduikit","add_php_preflight_install","add_email_helper","add_php_postflight_install","add_php_method_uninstall","add_php_preflight_update","add_php_postflight_update","add_license","addreadme","license_type","add_sales_server","creatuserhelper","addfootable","add_php_helper_admin","add_admin_event","add_php_helper_site","add_site_event","add_sql","add_php_dashboard_methods","emptycontributors","not_required","number"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"}]}';
|
||||
|
||||
// Check if component type is already in content_type DB.
|
||||
$component_id = null;
|
||||
@ -1615,7 +1623,7 @@ class com_componentbuilderInstallerScript
|
||||
$dynamic_get->table = '{"special": {"dbtable": "#__componentbuilder_dynamic_get","key": "id","type": "Dynamic_get","prefix": "componentbuilderTable","config": "array()"},"common": {"dbtable": "#__ucm_content","key": "ucm_id","type": "Corecontent","prefix": "JTable","config": "array()"}}';
|
||||
$dynamic_get->field_mappings = '{"common": {"core_content_item_id": "id","core_title": "name","core_state": "published","core_alias": "null","core_created_time": "created","core_modified_time": "modified","core_body": "null","core_hits": "hits","core_publish_up": "null","core_publish_down": "null","core_access": "access","core_params": "params","core_featured": "null","core_metadata": "null","core_language": "null","core_images": "null","core_urls": "null","core_version": "version","core_ordering": "ordering","core_metakey": "null","core_metadesc": "null","core_catid": "null","core_xreference": "null","asset_id": "asset_id"},"special": {"name":"name","main_source":"main_source","gettype":"gettype","getcustom":"getcustom","pagination":"pagination","php_after_getitem":"php_after_getitem","php_before_getitems":"php_before_getitems","php_before_getitem":"php_before_getitem","view_table_main":"view_table_main","php_getlistquery":"php_getlistquery","view_selection":"view_selection","php_after_getitems":"php_after_getitems","db_table_main":"db_table_main","php_calculation":"php_calculation","db_selection":"db_selection","add_php_before_getitem":"add_php_before_getitem","add_php_after_getitem":"add_php_after_getitem","add_php_getlistquery":"add_php_getlistquery","add_php_before_getitems":"add_php_before_getitems","add_php_after_getitems":"add_php_after_getitems","addcalculation":"addcalculation","php_custom_get":"php_custom_get","not_required":"not_required"}}';
|
||||
$dynamic_get->router = 'ComponentbuilderHelperRoute::getDynamic_getRoute';
|
||||
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","pagination","view_table_main","add_php_before_getitem","add_php_after_getitem","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"},{"sourceColumn": "db_table_main","targetTable": "","targetColumn": "","displayColumn": ""}]}';
|
||||
$dynamic_get->content_history_options = '{"formFile": "administrator/components/com_componentbuilder/models/forms/dynamic_get.xml","hideFields": ["asset_id","checked_out","checked_out_time","version","not_required"],"ignoreChanges": ["modified_by","modified","checked_out","checked_out_time","version","hits"],"convertToInt": ["published","ordering","main_source","gettype","pagination","view_table_main","add_php_before_getitem","add_php_after_getitem","add_php_getlistquery","add_php_before_getitems","add_php_after_getitems","not_required"],"displayLookup": [{"sourceColumn": "created_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "access","targetTable": "#__viewlevels","targetColumn": "id","displayColumn": "title"},{"sourceColumn": "modified_by","targetTable": "#__users","targetColumn": "id","displayColumn": "name"},{"sourceColumn": "view_table_main","targetTable": "#__componentbuilder_admin_view","targetColumn": "id","displayColumn": "system_name"}]}';
|
||||
|
||||
// Check if dynamic_get type is already in content_type DB.
|
||||
$dynamic_get_id = null;
|
||||
@ -1815,7 +1823,7 @@ class com_componentbuilderInstallerScript
|
||||
echo '<a target="_blank" href="https://www.vdm.io/joomla-component-builder" title="Component Builder">
|
||||
<img src="components/com_componentbuilder/assets/images/component-300.jpg"/>
|
||||
</a>
|
||||
<h3>Upgrade to Version 2.1.21 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||
<h3>Upgrade to Version 2.2.0 Was Successful! Let us know if anything is not working as expected.</h3>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user