Added the option of placing tabs on the dashboard with custom scription options. All other changes are only random variable name and date changes (due to automation)

This commit is contained in:
2016-02-19 11:21:44 +02:00
parent 737785ea33
commit 4e65696d40
367 changed files with 3233 additions and 3013 deletions

View File

@ -10,8 +10,8 @@
|_|
/-------------------------------------------------------------------------------------------------------------------------------/
@version 2.0.9
@build 15th February, 2016
@version 2.1.0
@build 18th February, 2016
@created 30th April, 2015
@package Component Builder
@subpackage script.php
@ -1255,9 +1255,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","description":"description","debug_linenr":"debug_linenr","bom":"bom","image":"image","add_css":"add_css","add_admin_event":"add_admin_event","number":"number","add_site_event":"add_site_event","addreadme":"addreadme","adduikit":"adduikit","name":"name","add_php_helper_admin":"add_php_helper_admin","email":"email","add_php_helper_site":"add_php_helper_site","website":"website","add_sql":"add_sql","copyright":"copyright","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","php_helper_admin":"php_helper_admin","php_admin_event":"php_admin_event","php_helper_site":"php_helper_site","php_site_event":"php_site_event","sql":"sql","readme":"readme","not_required":"not_required"}}';
$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","description":"description","debug_linenr":"debug_linenr","bom":"bom","image":"image","addfootable":"addfootable","name":"name","php_helper_admin":"php_helper_admin","emptycontributors":"emptycontributors","php_helper_site":"php_helper_site","sql":"sql","creatuserhelper":"creatuserhelper","addreadme":"addreadme","css":"css","email":"email","php_admin_event":"php_admin_event","website":"website","php_site_event":"php_site_event","copyright":"copyright","php_dashboard_methods":"php_dashboard_methods","add_license":"add_license","license_type":"license_type","whmcs_key":"whmcs_key","number":"number","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_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"}}';
$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_css","add_admin_event","number","add_site_event","addreadme","adduikit","add_php_helper_admin","add_php_helper_site","add_sql","add_license","license_type","emptycontributors","creatuserhelper","addfootable","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","debug_linenr","addfootable","emptycontributors","creatuserhelper","addreadme","add_license","license_type","number","adduikit","add_css","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"}]}';
// Set the object into the content types table.
$component_Inserted = $db->insertObject('#__content_types', $component);
@ -1439,9 +1439,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","description":"description","debug_linenr":"debug_linenr","bom":"bom","image":"image","add_css":"add_css","add_admin_event":"add_admin_event","number":"number","add_site_event":"add_site_event","addreadme":"addreadme","adduikit":"adduikit","name":"name","add_php_helper_admin":"add_php_helper_admin","email":"email","add_php_helper_site":"add_php_helper_site","website":"website","add_sql":"add_sql","copyright":"copyright","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","php_helper_admin":"php_helper_admin","php_admin_event":"php_admin_event","php_helper_site":"php_helper_site","php_site_event":"php_site_event","sql":"sql","readme":"readme","not_required":"not_required"}}';
$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","description":"description","debug_linenr":"debug_linenr","bom":"bom","image":"image","addfootable":"addfootable","name":"name","php_helper_admin":"php_helper_admin","emptycontributors":"emptycontributors","php_helper_site":"php_helper_site","sql":"sql","creatuserhelper":"creatuserhelper","addreadme":"addreadme","css":"css","email":"email","php_admin_event":"php_admin_event","website":"website","php_site_event":"php_site_event","copyright":"copyright","php_dashboard_methods":"php_dashboard_methods","add_license":"add_license","license_type":"license_type","whmcs_key":"whmcs_key","number":"number","whmcs_url":"whmcs_url","license":"license","adduikit":"adduikit","add_css":"add_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"}}';
$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_css","add_admin_event","number","add_site_event","addreadme","adduikit","add_php_helper_admin","add_php_helper_site","add_sql","add_license","license_type","emptycontributors","creatuserhelper","addfootable","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","debug_linenr","addfootable","emptycontributors","creatuserhelper","addreadme","add_license","license_type","number","adduikit","add_css","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"}]}';
// Check if component type is already in content_type DB.
$component_id = null;
@ -1815,7 +1815,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.png"/>
</a>
<h3>Upgrade to Version 2.0.9 Was Successful! Let us know if anything is not working as expected.</h3>';
<h3>Upgrade to Version 2.1.0 Was Successful! Let us know if anything is not working as expected.</h3>';
}
}
}