Fixed gh-219 import of JCB packages

This commit is contained in:
2018-01-16 14:35:54 +02:00
parent 7b3915bf14
commit d00603355b
7 changed files with 43 additions and 11 deletions

View File

@ -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 safe you lots of time and money. A real must have!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.6.10) with **ALL** its features and **ALL** concepts totally open-source and free!
You can install it quite easily and with no limitations. On [github](https://github.com/vdm-io/Joomla-Component-Builder/releases) is the latest release (2.6.11) 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)
@ -127,12 +127,12 @@ Component Builder is mapped as a component in itself on my local development env
+ *Name*: [Component Builder](http://joomlacomponentbuilder.com)
+ *First Build*: 30th April, 2015
+ *Last Build*: 16th January, 2018
+ *Version*: 2.6.10
+ *Version*: 2.6.11
+ *Copyright*: Copyright (C) 2015. All Rights Reserved
+ *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html
+ *Line count*: **179815**
+ *Line count*: **179847**
+ *Field count*: **1571**
+ *File count*: **1152**
+ *File count*: **1153**
+ *Folder count*: **184**
> This **component** was build with a Joomla [Automated Component Builder](http://joomlacomponentbuilder.com).

View File

@ -1493,6 +1493,20 @@ class ComponentbuilderModelImport_joomla_components extends JModelLegacy
}
// remove from this dataset
unset($item->addfolders);
// update the add_css
if (isset($item->add_css))
{
$item->add_css_admin = $item->add_css;
}
// remove from this dataset
unset($item->add_css);
// update the css
if (isset($item->css) && ComponentbuilderHelper::checkString($item->css))
{
$item->css_admin = $item->css;
}
// remove from this dataset
unset($item->css);
// repeatable fields to update
$updaterR = array(
// repeatablefield => checker

View File

@ -0,0 +1 @@