Release of v4.0.0-beta1
Add the compiler menu back. Fix the CustomfolderlistField #1094.
This commit is contained in:
@ -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', '', '', '', '', ''),
|
||||
|
Reference in New Issue
Block a user