forked from joomla/Component-Builder
Release of v4.0.0-beta1
Add the compiler menu back. Fix the CustomfolderlistField #1094.
This commit is contained in:
parent
359b4dd92b
commit
6cb5f05f1e
54
CHANGELOG.md
54
CHANGELOG.md
@ -1,46 +1,30 @@
|
||||
# v4.0.0-alpha8
|
||||
# v4.0.0-beta1
|
||||
|
||||
- Add power path override option on component level.
|
||||
- Fix the sql build feature. #1032
|
||||
- Add the compiler menu back.
|
||||
- Fix the CustomfolderlistField #1094
|
||||
|
||||
# v4.0.0-alpha7
|
||||
|
||||
- Fix the search area layout.
|
||||
- Fix the search area code line selection.
|
||||
- Fix the input edit button for custom fields.
|
||||
- Add the new layout to list fields (GUI UPDATE)
|
||||
- Start fixing the field view in Joomla 4. #1096
|
||||
|
||||
# v4.0.0-alpha6
|
||||
|
||||
- Fix [Set String Value] in placeholder table to store the value as a base64 string.
|
||||
|
||||
# v4.0.0-alpha5
|
||||
|
||||
- Add Factory class to the J5 Event class. #1093
|
||||
- Fix customfilelist field to conform to the new namespacing conventions. #1094
|
||||
- Add menus for languages, servers, get snippets to J4 #1095
|
||||
|
||||
# v4.0.0-alpha4
|
||||
# v4.0.0-alpha
|
||||
|
||||
- First alpha release of Component Builder towards Joomla 4 (very unstable...)
|
||||
- Fix the plug-in installer script builder bug #1067
|
||||
- Fix Event triggers for Joomla 4 and 5 builds.
|
||||
- Add fix to the update script, so that upgrading JCB from Joomla 3 to 4 will not fail.
|
||||
- Fix plugin field selection
|
||||
- Fix plugin params tab layout
|
||||
- Add issue templates
|
||||
- Force autoloader to always load.
|
||||
- Fix repeatable layout #1076
|
||||
|
||||
# v4.0.0-alpha3
|
||||
|
||||
- Add fix to the update script, so that upgrading JCB from Joomla 3 to 4 will not fail.
|
||||
|
||||
# v4.0.0-alpha2
|
||||
|
||||
- Fix the plug-in installer script builder bug #1067
|
||||
- Fix Event triggers for Joomla 4 and 5 builds.
|
||||
|
||||
# v4.0.0-alpha1
|
||||
|
||||
- First alpha release of Component Builder towards Joomla 4 (very unstable...)
|
||||
- Add Factory class to the J5 Event class. #1093
|
||||
- Fix customfilelist field to conform to the new namespacing conventions. #1094
|
||||
- Add menus for languages, servers, get snippets to J4 #1095
|
||||
- Fix [Set String Value] in placeholder table to store the value as a base64 string.
|
||||
- Fix the search area layout.
|
||||
- Fix the search area code line selection.
|
||||
- Fix the input edit button for custom fields.
|
||||
- Add the new layout to list fields (GUI UPDATE)
|
||||
- Start fixing the field view in Joomla 4. #1096
|
||||
- Add power path override option on component level.
|
||||
- Fix the sql build feature. #1032
|
||||
|
||||
# v3.2.0
|
||||
|
||||
|
@ -3139,7 +3139,7 @@ class Com_ComponentbuilderInstallerScript implements InstallerScriptInterface
|
||||
echo '<div style="background-color: #fff;" class="alert alert-info"><a target="_blank" href="https://dev.vdm.io" title="Component Builder">
|
||||
<img src="components/com_componentbuilder/assets/images/vdm-component.jpg"/>
|
||||
</a>
|
||||
<h3>Upgrade to Version 4.0.0-alpha8 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||
<h3>Upgrade to Version 4.0.0-beta1 Was Successful! Let us know if anything is not working as expected.</h3></div>';
|
||||
|
||||
// Add/Update component in the action logs extensions table.
|
||||
$this->setActionLogsExtensions();
|
||||
|
10
README.md
10
README.md
@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
||||
|
||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
||||
|
||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-alpha8) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-beta1) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
|
||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||
|
||||
@ -144,13 +144,13 @@ TODO
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 6th April, 2024
|
||||
+ *Version*: 4.0.0-alpha8
|
||||
+ *Last Build*: 7th April, 2024
|
||||
+ *Version*: 4.0.0-beta1
|
||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **730143**
|
||||
+ *Line count*: **730018**
|
||||
+ *Field count*: **2080**
|
||||
+ *File count*: **5132**
|
||||
+ *File count*: **5126**
|
||||
+ *Folder count*: **518**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
|
@ -9,7 +9,7 @@ The Component Builder for [Joomla](https://extensions.joomla.org/extension/compo
|
||||
|
||||
Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/component-builder/) developer, or have just started, Component Builder will save you lots of time and money. A real must have!
|
||||
|
||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-alpha8) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
You can install it quite easily and with no limitations. On [gitea](https://git.vdm.dev/joomla/Component-Builder/tags) is the latest release (4.0.0-beta1) with **ALL** its features and **ALL** concepts totally open-source and free!
|
||||
|
||||
> Watch Quick Build of a Hello World component in [JCB on Youtube](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=45)
|
||||
|
||||
@ -144,13 +144,13 @@ TODO
|
||||
+ *Author*: [Llewellyn van der Merwe](mailto:joomla@vdm.io)
|
||||
+ *Name*: [Component Builder](https://git.vdm.dev/joomla/Component-Builder)
|
||||
+ *First Build*: 30th April, 2015
|
||||
+ *Last Build*: 6th April, 2024
|
||||
+ *Version*: 4.0.0-alpha8
|
||||
+ *Last Build*: 7th April, 2024
|
||||
+ *Version*: 4.0.0-beta1
|
||||
+ *Copyright*: Copyright (C) 2015 Vast Development Method. All rights reserved.
|
||||
+ *License*: GNU General Public License version 2 or later; see LICENSE.txt
|
||||
+ *Line count*: **730143**
|
||||
+ *Line count*: **730018**
|
||||
+ *Field count*: **2080**
|
||||
+ *File count*: **5132**
|
||||
+ *File count*: **5126**
|
||||
+ *Folder count*: **518**
|
||||
|
||||
> This **component** was build with a [Joomla](https://extensions.joomla.org/extension/component-builder/) [Automated Component Builder](https://www.joomlacomponentbuilder.com).
|
||||
|
BIN
admin/assets/images/icons/compiler.png
Normal file
BIN
admin/assets/images/icons/compiler.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
@ -4298,6 +4298,7 @@ COM_COMPONENTBUILDER_DASH="Dashboard"
|
||||
COM_COMPONENTBUILDER_DASHBOARD="Component Builder Dashboard"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_ADD_RECORD="Dashboard (add record)"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_ADMIN_VIEWS="Admin Views<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_COMPILER="Compiler<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_ADMIN_VIEWS="Custom Admin Views<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_CUSTOM_CODES="Custom Codes<br /><br />"
|
||||
COM_COMPONENTBUILDER_DASHBOARD_DYNAMIC_GETS="Dynamic Gets<br /><br />"
|
||||
@ -8853,6 +8854,7 @@ COM_COMPONENTBUILDER_START_A_SEARCH="Start a Search"
|
||||
COM_COMPONENTBUILDER_STOP_A_SEARCH="Stop a Search"
|
||||
COM_COMPONENTBUILDER_SUBMENU="Submenu"
|
||||
COM_COMPONENTBUILDER_SUBMENU_ADMIN_VIEWS="Admin Views"
|
||||
COM_COMPONENTBUILDER_SUBMENU_COMPILER="Compiler"
|
||||
COM_COMPONENTBUILDER_SUBMENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
|
||||
COM_COMPONENTBUILDER_SUBMENU_CUSTOM_CODES="Custom Codes"
|
||||
COM_COMPONENTBUILDER_SUBMENU_DASHBOARD="Dashboard"
|
||||
|
@ -964,6 +964,7 @@ COM_COMPONENTBUILDER_LIBRARY_GET_SNIPPETS_BUTTON_ACCESS="Library Get Snippets Bu
|
||||
COM_COMPONENTBUILDER_LIBRARY_GET_SNIPPETS_BUTTON_ACCESS_DESC="Allows the users in this group to access the get snippets button."
|
||||
COM_COMPONENTBUILDER_MENU="✓ Component Builder"
|
||||
COM_COMPONENTBUILDER_MENU_ADMIN_VIEWS="Admin Views"
|
||||
COM_COMPONENTBUILDER_MENU_COMPILER="Compiler"
|
||||
COM_COMPONENTBUILDER_MENU_CUSTOM_ADMIN_VIEWS="Custom Admin Views"
|
||||
COM_COMPONENTBUILDER_MENU_CUSTOM_CODES="Custom Codes"
|
||||
COM_COMPONENTBUILDER_MENU_DASHBOARD="Dashboard"
|
||||
|
@ -2516,7 +2516,7 @@ INSERT INTO `#__componentbuilder_field` (`id`, `add_css_view`, `add_css_views`,
|
||||
(296, '', '', '', '', '', '', '', '', 255, '', 'VARCHAR', '', '', '', 'Target Path', 'NOT NULL', '', 24, '\"<field \\r\\n\\ttype=\\\"text\\\" \\r\\n\\tname=\\\"path\\\" \\r\\n\\tlabel=\\\"Target Path\\\" \\r\\n\\tdescription=\\\"Path in relation to the folder structure in the install package, <b>unzip the compiled zip file<\\/b> to see the structure. \\\"\\r\\n\\tsize=\\\"40\\\" \\r\\n\\tmaxlength=\\\"150\\\"\\r\\n\\tclass=\\\"text_area\\\" \\r\\n\\treadonly=\\\"false\\\" \\r\\n\\tdisabled=\\\"false\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\tfilter=\\\"PATH\\\" \\r\\n\\tvalidate=\\\"\\\" \\r\\n\\tmessage=\\\"Error! Please add target path.\\\" \\r\\n\\thint=\\\"Target Path Here\\\" \\r\\n\\/>\"', 1, '2015-05-13 15:19:13', '2018-02-14 21:36:06', 3, '', 303, 'd626e1f0-47b4-4aed-8c75-700a9566488f', '', '', '', '', ''),
|
||||
(297, '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Add Files', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_add_files\\\" \\r\\n\\tlabel=\\\"Adding Custom Files\\\" \\r\\n\\tdescription=\\\"You can add custom files to the component, simply add the files to the administrator\\/components\\/com_###component###\\/custom folder and then select them here.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\/>\"', 1, '2015-05-13 15:24:04', '2017-11-24 23:21:42', 4, '', 307, 'b483276a-db33-4aae-a178-17dc989114f1', '', '', '', '', ''),
|
||||
(298, '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Add Folders', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"note_add_folders\\\" \\r\\n\\tlabel=\\\"Adding Custom Folders\\\" \\r\\n\\tdescription=\\\"You can add custom folders to the component, simply add the folders to the administrator\\/components\\/com_###component###\\/custom folder and then select them here.\\\" \\r\\n\\theading=\\\"h4\\\" \\r\\n\\tclass=\\\"alert alert-info\\\" \\r\\n\\/>\"', 1, '2015-05-13 15:25:04', '2017-11-24 23:22:12', 3, '', 306, 'b79528e9-d7fe-4dc3-90f0-fb90c3b53f9c', '', '', '', '', ''),
|
||||
(299, '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Folder', 'NOT NULL', '', 6, '\"<field \\r\\n\\ttype=\\\"customfolderlist\\\" \\r\\n\\tname=\\\"folder\\\" \\r\\n\\tlabel=\\\"Folder\\\" \\r\\n\\tdescription=\\\"Add the folder to custom folder\\\" \\r\\n\\tclass=\\\"list_class\\\" \\r\\n\\tmultiple=\\\"false\\\" \\r\\n\\tdefault=\\\"0\\\" \\r\\n\\trequired=\\\"true\\\" \\r\\n\\treadonly=\\\"\\\" \\r\\n\\tdisabled=\\\"\\\" \\r\\n\\textends=\\\"list\\\" \\r\\n\\tbutton=\\\"false\\\" \\r\\n\\ttype_php_1=\\\"\\/\\/ get custom folder folder\\r\\n\\t\\t$localfolder = JComponentHelper::getParams(\'com_###component###\')->get(\'custom_folder_path\', JPATH_COMPONENT_ADMINISTRATOR.\'\\/custom\');\\r\\n\\t\\t\\/\\/ set the default\\r\\n\\t\\t$options[] = JHtml::_(\'select.option\', \'\', JText::sprintf(\'Please add folders to (%s)\',$localfolder));\\r\\n\\t\\t\\/\\/ import all needed classes\\r\\n\\t\\tjimport(\'joomla.filesystem.file\');\\r\\n\\t\\tjimport(\'joomla.filesystem.folder\');\\r\\n\\t\\t\\/\\/ setup the folder if it does not exist\\r\\n\\t\\tif (!JFolder::exists($localfolder))\\r\\n\\t\\t{\\r\\n\\t\\t\\tJFolder::create($localfolder);\\r\\n\\t\\t}\\r\\n\\t\\t\\/\\/ now check if there are files in the folder\\r\\n\\t\\tif ($folders = JFolder::folders($localfolder))\\r\\n\\t\\t{\\r\\n\\t\\t\\t$options = array();\\r\\n\\t\\t\\tforeach ($folders as $folder)\\r\\n\\t\\t\\t{\\r\\n\\t\\t\\t\\t$options[] = JHtml::_(\'select.option\', $folder, $folder);\\r\\n\\t\\t\\t}\\r\\n\\t\\t}\\r\\n\\t\\treturn $options;\\\" \\r\\n\\/>\"', 1, '2015-05-13 15:27:18', '2015-11-24 23:58:07', 2, '', 304, '31f144af-ed45-4c80-85c8-fff4c4e0ca0d', '', '', '', '', ''),
|
||||
(299, '', '', '', '', '', '', '', '', 64, '', 'CHAR', '', '', '', 'Folder', 'NOT NULL', '', 6, '\"<field\\n\\ttype=\\\"customfolderlist\\\"\\n\\tname=\\\"folder\\\"\\n\\tlabel=\\\"Folder\\\"\\n\\tdescription=\\\"Add the folder to custom folder\\\"\\n\\tclass=\\\"list_class\\\"\\n\\tmultiple=\\\"false\\\"\\n\\tdefault=\\\"0\\\"\\n\\trequired=\\\"true\\\"\\n\\textends=\\\"list\\\"\\n\\tbutton=\\\"false\\\"\\n\\ttype_php_1=\\\"__.o0=base64=Oo.__Ly8gZ2V0IGN1c3RvbSBmb2xkZXIgZm9sZGVyDQoJCSRsb2NhbGZvbGRlciA9IENvbXBvbmVudEhlbHBlcjo6Z2V0UGFyYW1zKCdjb21fIyMjY29tcG9uZW50IyMjJyktPmdldCgnY3VzdG9tX2ZvbGRlcl9wYXRoJywgSlBBVEhfQ09NUE9ORU5UX0FETUlOSVNUUkFUT1IuJy9jdXN0b20nKTsNCgkJLy8gc2V0IHRoZSBkZWZhdWx0DQoJCSRvcHRpb25zW10gPSBIdG1sOjpfKCdzZWxlY3Qub3B0aW9uJywgJycsIFRleHQ6OnNwcmludGYoJ1BsZWFzZSBhZGQgZm9sZGVycyB0byAoJXMpJywkbG9jYWxmb2xkZXIpKTsNCgkJLy8gc2V0dXAgdGhlIGZvbGRlciBpZiBpdCBkb2VzIG5vdCBleGlzdA0KCQlpZiAoIVxKRm9sZGVyOjpleGlzdHMoJGxvY2FsZm9sZGVyKSkNCgkJew0KCQkJXEpGb2xkZXI6OmNyZWF0ZSgkbG9jYWxmb2xkZXIpOw0KCQl9DQoJCS8vIG5vdyBjaGVjayBpZiB0aGVyZSBhcmUgZmlsZXMgaW4gdGhlIGZvbGRlcg0KCQlpZiAoJGZvbGRlcnMgPSBcSkZvbGRlcjo6Zm9sZGVycygkbG9jYWxmb2xkZXIpKQ0KCQl7DQoJCQkkb3B0aW9ucyA9IFtdOw0KCQkJZm9yZWFjaCAoJGZvbGRlcnMgYXMgJGZvbGRlcikNCgkJCXsNCgkJCQkkb3B0aW9uc1tdID0gSHRtbDo6Xygnc2VsZWN0Lm9wdGlvbicsICRmb2xkZXIsICRmb2xkZXIpOw0KCQkJfQ0KCQl9DQoJCXJldHVybiAkb3B0aW9uczs=\\\"\\n\\/>\"', 1, '2015-05-13 15:27:18', '2024-04-07 09:47:43', 3, '', 304, '31f144af-ed45-4c80-85c8-fff4c4e0ca0d', '', '', '', '', ''),
|
||||
(300, '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Files', 'NOT NULL', '', 35, '\"<field \\r\\n\\ttype=\\\"subform\\\" \\r\\n\\tname=\\\"addfiles\\\" \\r\\n\\tlabel=\\\"Files (custom folder)\\\" \\r\\n\\tdescription=\\\"Add custom files to this component from the custom folder. Path: \\/administrator\\/components\\/com_componentbuilder\\/custom\\/\\\" \\r\\n\\tlayout=\\\"joomla.form.field.subform.repeatable-table\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tfields=\\\"295,296,328\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\/>\"', 1, '2015-05-13 15:31:20', '2018-02-16 13:30:03', 3, '', 310, '143f8b3d-5b58-4b26-aaad-a5f14a57865b', '', '', '', '', ''),
|
||||
(301, '', '', '', '', '', '', '', '', '', '', 'TEXT', '', '', '', 'Add Folder', 'NOT NULL', '', 35, '\"<field \\r\\n\\ttype=\\\"subform\\\"\\r\\n\\tname=\\\"addfolders\\\" \\r\\n\\tlabel=\\\"Folder (custom folder)\\\"\\r\\n\\tdescription=\\\"Add custom folder to this component from the custom folder. Path: \\/administrator\\/components\\/com_componentbuilder\\/custom\\/\\\" \\r\\n\\tlayout=\\\"joomla.form.field.subform.repeatable-table\\\" \\r\\n\\tmultiple=\\\"true\\\" \\r\\n\\tfields=\\\"299,296,329\\\" \\r\\n\\tdefault=\\\"\\\" \\r\\n\\ticon=\\\"list\\\" \\r\\n\\tmaximum=\\\"500\\\" \\r\\n\\tfilter=\\\"\\\" \\r\\n\\/>\"', 1, '2015-05-13 15:36:30', '2018-02-16 13:31:40', 3, '', 309, '483f2c40-2348-4168-817b-471f5ba96984', '', '', '', '', ''),
|
||||
(302, '', '', '', '', '', '', '', '', '', '', 'CHAR', '', '', '', 'Note - Field Information', 'NOT NULL', '', 14, '\"<field \\r\\n\\ttype=\\\"note\\\" \\r\\n\\tname=\\\"helpNote\\\" \\r\\n\\tlabel=\\\"Field Information\\\" \\r\\n\\tdescription=\\\"\\\" \\r\\n\\theading=\\\"\\\" \\r\\n\\tclass=\\\"helpNote\\\" \\r\\n\\tclose=\\\"\\\" \\r\\n\\/>\"', 1, '2015-05-13 21:22:14', '2015-08-25 21:15:22', 1, '', 312, '50fb0b10-d6b7-477e-b847-024337dc9de9', '', '', '', '', ''),
|
||||
|
@ -1,3 +1,2 @@
|
||||
ALTER TABLE `#__componentbuilder_joomla_component` ADD `add_jcb_powers_path` TINYINT(1) NOT NULL DEFAULT 0 AFTER `add_javascript`;
|
||||
|
||||
ALTER TABLE `#__componentbuilder_joomla_component` ADD `jcb_powers_path` VARCHAR(255) NOT NULL DEFAULT '' AFTER `javascript`;
|
@ -1 +0,0 @@
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -1 +0,0 @@
|
||||
|
@ -46,18 +46,15 @@ class CustomfolderlistField extends ListField
|
||||
$localfolder = ComponentHelper::getParams('com_componentbuilder')->get('custom_folder_path', JPATH_COMPONENT_ADMINISTRATOR.'/custom');
|
||||
// set the default
|
||||
$options[] = Html::_('select.option', '', Text::sprintf('COM_COMPONENTBUILDER_PLEASE_ADD_FOLDERS_TO_S',$localfolder));
|
||||
// import all needed classes
|
||||
jimport('joomla.filesystem.file');
|
||||
jimport('joomla.filesystem.folder');
|
||||
// setup the folder if it does not exist
|
||||
if (!JFolder::exists($localfolder))
|
||||
if (!\JFolder::exists($localfolder))
|
||||
{
|
||||
JFolder::create($localfolder);
|
||||
\JFolder::create($localfolder);
|
||||
}
|
||||
// now check if there are files in the folder
|
||||
if ($folders = JFolder::folders($localfolder))
|
||||
if ($folders = \JFolder::folders($localfolder))
|
||||
{
|
||||
$options = array();
|
||||
$options = [];
|
||||
foreach ($folders as $folder)
|
||||
{
|
||||
$options[] = Html::_('select.option', $folder, $folder);
|
||||
|
@ -6125,6 +6125,11 @@ abstract class ComponentbuilderHelper
|
||||
$user = Factory::getApplication()->getIdentity();
|
||||
// load the submenus to sidebar
|
||||
\JHtmlSidebar::addEntry(Text::_('COM_COMPONENTBUILDER_SUBMENU_DASHBOARD'), 'index.php?option=com_componentbuilder&view=componentbuilder', $submenu === 'componentbuilder');
|
||||
// Access control (compiler.submenu).
|
||||
if ($user->authorise('compiler.submenu', 'com_componentbuilder'))
|
||||
{
|
||||
\JHtmlSidebar::addEntry(Text::_('COM_COMPONENTBUILDER_SUBMENU_COMPILER'), 'index.php?option=com_componentbuilder&view=compiler', $submenu === 'compiler');
|
||||
}
|
||||
if ($user->authorise('joomla_component.access', 'com_componentbuilder') && $user->authorise('joomla_component.submenu', 'com_componentbuilder'))
|
||||
{
|
||||
\JHtmlSidebar::addEntry(Text::_('COM_COMPONENTBUILDER_SUBMENU_JOOMLA_COMPONENTS'), 'index.php?option=com_componentbuilder&view=joomla_components', $submenu === 'joomla_components');
|
||||
|
@ -46,7 +46,7 @@ class ComponentbuilderModel extends ListModel
|
||||
$icons = [];
|
||||
// view groups array
|
||||
$viewGroups = array(
|
||||
'main' => array('png.joomla_components', 'png.joomla_modules', 'png.joomla_plugins', 'png.powers', 'png.search', 'png||importjcbpackages||index.php?option=com_componentbuilder&view=joomla_components&task=joomla_components.smartImport', 'png.admin_views', 'png.custom_admin_views', 'png.site_views', 'png.template.add', 'png.templates', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.custom_codes', 'png.placeholders', 'png.libraries', 'png.snippets', 'png.get_snippets', 'png.validation_rules', 'png.field.add', 'png.fields', 'png.fields.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_field', 'png.fieldtypes', 'png.fieldtypes.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_fieldtype', 'png.language_translations', 'png.servers', 'png.help_documents')
|
||||
'main' => array('png.compiler', 'png.joomla_components', 'png.joomla_modules', 'png.joomla_plugins', 'png.powers', 'png.search', 'png||importjcbpackages||index.php?option=com_componentbuilder&view=joomla_components&task=joomla_components.smartImport', 'png.admin_views', 'png.custom_admin_views', 'png.site_views', 'png.template.add', 'png.templates', 'png.layouts', 'png.dynamic_get.add', 'png.dynamic_gets', 'png.custom_codes', 'png.placeholders', 'png.libraries', 'png.snippets', 'png.get_snippets', 'png.validation_rules', 'png.field.add', 'png.fields', 'png.fields.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_field', 'png.fieldtypes', 'png.fieldtypes.catid_qpo0O0oqp_com_componentbuilder_po0O0oq_fieldtype', 'png.language_translations', 'png.servers', 'png.help_documents')
|
||||
);
|
||||
// view access array
|
||||
$viewAccess = [
|
||||
|
@ -1,15 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<extension type="component" version="4.0" method="upgrade">
|
||||
<name>COM_COMPONENTBUILDER</name>
|
||||
<creationDate>6th April, 2024</creationDate>
|
||||
<creationDate>7th April, 2024</creationDate>
|
||||
<author>Llewellyn van der Merwe</author>
|
||||
<authorEmail>joomla@vdm.io</authorEmail>
|
||||
<authorUrl>https://dev.vdm.io</authorUrl>
|
||||
<copyright>Copyright (C) 2015 Vast Development Method. All rights reserved.</copyright>
|
||||
<license>GNU General Public License version 2 or later; see LICENSE.txt</license>
|
||||
<version>4.0.0-alpha8</version>
|
||||
<version>4.0.0-beta1</version>
|
||||
<description><![CDATA[
|
||||
<h1>Component Builder (v.4.0.0-alpha8)</h1>
|
||||
<h1>Component Builder (v.4.0.0-beta1)</h1>
|
||||
<div style="clear: both;"></div>
|
||||
<p>The Component Builder for [Joomla](https://extensions.joomla.org/extension/component-builder/) is highly advanced tool that is truly able to build extremely complex components in a fraction of the time.
|
||||
|
||||
@ -61,6 +61,7 @@ Whether you're a seasoned [Joomla](https://extensions.joomla.org/extension/compo
|
||||
<submenu>
|
||||
<!-- Instead of link you can specify individual link attributes -->
|
||||
<menu option="com_componentbuilder" view="componentbuilder">COM_COMPONENTBUILDER_MENU_DASHBOARD</menu>
|
||||
<menu option="com_componentbuilder" view="compiler">COM_COMPONENTBUILDER_MENU_COMPILER</menu>
|
||||
<menu option="com_componentbuilder" view="joomla_components">COM_COMPONENTBUILDER_MENU_JOOMLA_COMPONENTS</menu>
|
||||
<menu option="com_componentbuilder" view="joomla_modules">COM_COMPONENTBUILDER_MENU_JOOMLA_MODULES</menu>
|
||||
<menu option="com_componentbuilder" view="joomla_plugins">COM_COMPONENTBUILDER_MENU_JOOMLA_PLUGINS</menu>
|
||||
|
@ -23,10 +23,10 @@
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha1</version>
|
||||
<version>4.0.0-alpha</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha1.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-beta1.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
@ -41,121 +41,13 @@
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha2</version>
|
||||
<version>4.0.0-beta1</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha2.zip</downloadurl>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-beta1.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha3</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha3.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha4</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha4.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha5</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha5.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha6</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha6.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha7</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha7.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
<targetplatform name="joomla" version="4\.[1234]"/>
|
||||
</update>
|
||||
<update>
|
||||
<name>Component Builder</name>
|
||||
<description>Builds Complex Joomla Components</description>
|
||||
<element>pkg_component_builder</element>
|
||||
<type>package</type>
|
||||
<client>site</client>
|
||||
<version>4.0.0-alpha8</version>
|
||||
<infourl title="Component Builder!">https://dev.vdm.io</infourl>
|
||||
<downloads>
|
||||
<downloadurl type="full" format="zip">https://git.vdm.dev/api/v1/repos/joomla/pkg-component-builder/archive/v4.0.0-alpha8.zip</downloadurl>
|
||||
</downloads>
|
||||
<tags>
|
||||
<tag>alpha</tag>
|
||||
<tag>beta</tag>
|
||||
</tags>
|
||||
<maintainer>Llewellyn van der Merwe</maintainer>
|
||||
<maintainerurl>https://dev.vdm.io</maintainerurl>
|
||||
|
Loading…
Reference in New Issue
Block a user