Updated 041 Upgrade to JCB v2.5.8 and using the new Admin View and Admin Fields (markdown)

Amigo 2019-08-05 11:32:09 +02:00
parent 4ab284c421
commit f026c96a03

@ -2,18 +2,27 @@
### JCB removing Repeatable Fields ### JCB removing Repeatable Fields
Hi. I've got Joomla installed here with JCB Joomla Component Builder 2.5.6. I've got quite a lot of Components that I have imported from another JCB. All of it is working. If we were to look inside of them, it looks the way that it should, and as expected. [00:00:34](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h00m34s) Joomla has conveniently decided to get rid of this Repeatable Field, which pops up into a little model. We have systemically been removing this Field [00:00:54](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h00m54s) from JCB. We've already done that in other areas of JCB. Like in the Language Translation area. If we would to open any of these Language strings'(a'-ZA.ng-NA)Demo-used in 21', you will see that we already have the Repeatable Field [00:01:19](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m19s) set up. [00:00:00](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h00m00s)
For example, Joomla is installed here with JCB Joomla Component Builder 2.5.6. Here is quite a lot of Components that has been imported from another JCB and all of them is functioning. Look in them, it looks as it should, and as expected. Joomla has conveniently decided to get rid of this Repeatable Field, which pops up into a little model. We have systemically been removing this Field from JCB.[00:00:54](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h00m54s) It has already been done in other areas of JCB. Like in the Language Translation area. If any of these Language strings is opened '(a'-ZA.ng-NA)Demo-used in 21', it may be seen that we already have the Repeatable Field set up.
### Compiler, Other Components in Joomla Can Export And Import IN JCB Packages ### Compiler, Other Components in Joomla Can Export And Import IN JCB Packages
This would have been simple as changing the Field Type within JCB to achieve. The only reality is that the Compiler as well as one other feature which is the Joomla Components, can be exported and imported in JCB Packages. These features are mapping into these Component concepts, [00:01:46](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m46s) the Field structures, how data is stored in a json. The Repeatable Fields are different from how it's being stored in the Sub Form Fields. [00:01:21](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m21s)
This would have been as simple as changing the Field Type within JCB. The reality is that the Compiler as well as one other feature which is the Joomla Components, can be exported and imported in JCB Packages. These features are mapping into these Component concepts, the Field structures, how data is stored in a json. The Repeatable Fields are different from how it is being stored in the Sub Form Fields.
### Difference Between Repeatable Fields And Sub Form Fields ### Difference Between Repeatable Fields And Sub Form Fields
I'm going to explain what the difference is. There is few tickets open on GitHub about this. We have [00:02:10](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m10s) taken on the task of supporting all of this. With this next release which is JCB 2.5.8, the whole Admin View area will be moved over to the new Sub Form layout. If I was to open an Admin View - Look, it has the old Repeatable Field concept as you would have learned with all the tutorials we've done. [00:02:43](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m43s) Your permissions is one of those tabs, the Fields, the Conditions, the Linked Views. Then you have a list of the Fields that are linked to the Admin View. You've got some Custom Buttons you could setup, and it's also a Repeatable Field, as well as linking MySQL, clicking on Table. This is also repeatable Field in a model. [00:03:13](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m13s) [00:01:59](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m59s)
To explain what the difference is: There is few tickets open on GitHub about this. We have [00:02:10](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m10s) taken on the task of supporting all of this. With this next release which is JCB 2.5.8, the whole Admin View area will be moved over to the new Sub Form layout. If I was to open an Admin View - 'Look', it has the old Repeatable Field concept as you would have seen in all the tutorials that had been given. [00:02:43](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m43s) Permissions is one of those tabs, the Fields, the Conditions, the Linked Views. Then there is a list of the Fields that are linked to the Admin View and some Custom Buttons that can be set up, and it is also a Repeatable Field, as well as linking MySQL(select 'Table'). This is also repeatable Field in a model.
### Heads Up - Moving And Changing Of Fields ### Heads Up - Moving And Changing Of Fields
[00:03:13](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m13s)<<<<<<<<<<<
All of these different Fields are going to be moved to Sub Fields, because of space and statistics. We will move some of these Fields into tabs. I will try and do it in a way that you wouldn't feel lost. Up front this Fields Button are going to be moved to the Fields Tab. [00:03:45](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m45s) The conditions are going to be moved. There will be in new tab called Settings. Settings tab will be call Details, and a new tab will be Settings. The rest of the Repeatable Fields that are remaining on this side will be placed there.That's just a heads up on what's going to happen. This is going to happen without you doing much. All you need to do is upgrade. [00:04:19](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h04m19s) All of these different Fields are going to be moved to Sub Fields, because of space and statistics. We will move some of these Fields into tabs. I will try and do it in a way that you wouldn't feel lost. Up front this Fields Button are going to be moved to the Fields Tab. [00:03:45](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m45s) The conditions are going to be moved. There will be in new tab called Settings. Settings tab will be call Details, and a new tab will be Settings. The rest of the Repeatable Fields that are remaining on this side will be placed there.That's just a heads up on what's going to happen. This is going to happen without you doing much. All you need to do is upgrade. [00:04:19](https://www.youtube.com/watch?v=YaycQcsMpOs&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h04m19s)
### Add Number Of Scripts That Will Convert ### Add Number Of Scripts That Will Convert