-
-
Notifications
You must be signed in to change notification settings - Fork 178
043 Major Release of JCB v2.6.0
00:00:00 (Click on these time links to see video)
Hi. I would like to demonstrate to you how to upgrade to version 2.6 of JCB. The upgrade is quite a major upgrade. Because we are removing all Repeatable Fields in the Joomla Component area. Joomla Component area has quite a lot of Repeatable Fields. If you were to open a component, you'll see that 00:00:29 Repeatable Fields are little models that pop-up with values as been used quite excessively in this view. The reason why we did that is because it's a very smart Field. Because it combines these values into one value. The JavaScript on the page grabs these values and converts it into one value. Which on submission 00:01:01 the form only submits one string, and not several Fields. To me it's feels like we going a few steps back, but I suppose there are some conventional reasons which makes the Repeatable Fields 00:01:21 on a Sub Form level more desirable. Because of its ability to validate the data more correctly. We have to remove these Fields because in Joomla 4 they no longer are supported. I had to decouple a number of these Fields into their own Tables. 00:01:48 Because of the size of values that we will have on the page. The page becomes immensely heavy, and they're about 9 new Tables added to JCB, to accommodate this.
The real change is only going to effect the Components Area. But because JCB is very Dynamic Component that integrates with various levels of this Data Structures. 00:02:20
I had also to upgrade the Compiler, as well as the import and export of JCB packages. We have tested this and for the most part those involved into testing, have found that this transition is a Major improvement to JCB. And should be very easy and you shouldn't have any issues. Those of you that might run into 00:02:49 little glitches that doesn't work as you expect.
We would suggest that you clean your browser's cache as well as memory. We found that traces of the old Repeatable Field Structure and JavaScript surrounding that might clash with the new changes in JavaScript within the new update. To clear your browser memory and not just the cache, is quite important. After you've on the upgrade 00:03:21 and you started working in different views, you should see that everything works as expected.
An area which at this stage has been reported in giving some conflicts, is the Dynamic Get Area. The Dynamic Get Area returns values 00:03:45 from the Admin Area where, if we target let's say Back end View, and we grab some information. These values are returned from the Admin Area where it goes to this Admin View, and builds this structure. 00:04:04 Now as you can see with my demonstration everything is working as expected. If you would test this area before the upgrade, you should find that it works without any problems. If it doesn't I would suggest clearing your browser memory and trying again until you can find that it is working 00:04:35 as you see mine working. The only thing I've done is, I've cleared my browser memory, that there's no traces of JavaScript. I mean literally going to history and wiping everything for this domain. If you don't want to clear all of your history then it specifically targeting this domain that you are loading your JCB Component in. That is few heads up for 00:05:10 the current 2.5.8.
The upgrade should be quite simple. You should be able to go to updates in your managing area. See that the upgrade is there and ready. Click on it and click update. The upgrade is been done. 00:05:41 If we now go back to Joomla Component Builder. We should see that it's up-to-date, and everything is been done without any errors. If we now go to the Joomla Components Area, you should see 00:06:00 a view similar to this, with a lot of new shortcuts to these different decoupled areas that I mentioned.
If you open the Component, not much has changed in regards to where what is located, but how to interact with it is been moved. For example the Component Updates if you see it has a button 'Edit component update for this joomla component', if you click, it's going to ask if you first save everything before you continue. 00:06:30 If you've done so, then click 'OK' and it opens the area where you then would do your updates. Usually it was in a model that popped up, and you could change it right there on the same page. Now you simply go to another view and is doing the same. The same goes with your Admin View, Custom View, Site View, and everything else.
The contributor we've moved down so you could 00:07:03 do them on the page. But for most of the other Repeatable Fields we've moved them to their own Tables.
The Files and the Folders we've moved to a joint table. If you were to click on 'Edit component files folders for this joomla component' you should be able to easily add some Files to your Component or Folders. All found within this 00:07:29 Structure as it's explained here in the note. The same is true of all the other areas.
We've moved the Admin Views to its own tab. You could access them via this button (In Settings - edit component admin views for this joomla component) or via this one(Admin View Tab) 00:07:54 In Editing the Joomla Component area you would see your changes. You could also from here directly edit the Admin View that you've linked. It will be able to edit the Admin View directly out of your Component area. That's a nice new feature which 00:08:15 I suppose will come in very handy. That is the new upgrade as it targets the majority of the changes in the Joomla Component Area. We do have a lot of data checks all around JCB at this stage. That if during the upgrade we might have missed a Field in not converting it to the new Sub Form layout. Then when opening a view, it runs through all those Fields, and make sure that it's been 00:08:54 changed and converted. If by any means you didn't get around to opening the views, and you go here to the Compiler, and would click compile. It does that again, it runs through all the Fields and it makes sure that it's in the right format. Therefore you're compiling should work just as before.
The new features we've added is this 00:09:23 Translation Checker. Which checks how many strings there is within your component. And how many you've translated for this specific version. New language available for the Admin View, the Admin System View, the Site View. Again for the another Language, Admin View, Admin System View, and the Site View. Giving you a little feedback on your progress. Because we realized that this area of JCB is not 00:09:59 may be utilized as much as it can be. We making some awareness. This area is available.
It only comes and becomes active if you've got some Language setup. You need to have some Languages in your Languages area. And you need to have have compiled that component at least once before. 00:10:26 Because the Language string stored in JCB found on the Language Translations is only generated once you've compiled it, at least your Component once. Then it links the Component Language strings to JCB. You can translate them into those Languages that you created. The other problem which you saw regarding to the Back-up folder, because I haven't setup a Backup folder for this JCB install. It'll tell me if I leave the set to yes and I compile. It'll tell me that it couldn't move that Backup file, because the Temporary folder and the Backup 00:11:11 folder is the same place. It's saying it couldn't move the file to the same location. That means this is not an error. It's just a miss configuration. We haven't setup the Back-up folder to be a separate from the Temporary folder. If you need some more help regarding the Translation Manager, please go watch this tutorial. Here we do give you a notice the that you can in the options area of JCB, 00:11:42 you can change the percentage of translation required before a translation is added. Currently it's set to 50%. You can change that to any percentage that you like. That is creating a Component with the new upgraded JCB and compiled that. We can go back to the Demo. We can see that the component was built. And everything is working as expected. 00:12:18
If you run into any issues that you think is related to this upgrade. And you have already cleared your browser memory. Also note that I'm using Firefox 64-bit. Then please 00:12:49 open an issue on GitHub. We'll try to get back to you and see if we can get this resolved. So far my experience is that this upgrade is taken JCB into a very powerful position, where it is having no Repeatable Fields anywhere in the Component. All its Repeatable Fields have been converted, and is only Sub Forms. 00:13:19 We've added some nice shortcuts like you seen to these decoupled areas. You can access them directly without going through the Component View itself. If you wanted to work on, for example, the Component Dashboard, you want to make some changes to the dashboard, or you want to work on the Admin Views, you can click on that buttob underneath the view and work on the Admin Views without going to the Component directly. 00:13:54 Which I think is very nice convenience shortcut that will make our life a little easier.
- Home
- Beta Testing
- Custom Code
- PHP Settings
- Demo Component
-
Tutorials
- Hello World JCB
- Intro JCB Guide
- JCB Installation Steps
- Planning Components
- Field Type Overview
- Basic Fields Creation
- Admin View Management
- Advanced Field Usage
- Admin Component Integration
- Component Setting Customization
- Scripting Components
- Component FTP Options
- Dynamic Get Method
- Site View DynamicGet
- Site View Templates
- Template Setup Guide
- Layout Configuration Steps
- Custom Admin Management
- Adding Site Views
- Custom Admin Integration
- MySQL Demo Tweaking
- Global JCB Settings
- Custom Time Field
- User Helper Integration
- Email Helper Usage
- Message Store Email
- List View Unescape
- Export Import Customization
- Overwrite Custom Fields
- List Field Filtering
- Automatic Code Import
- Manual Code Implementation
- Component Export Import
- Custom Admin Buttons
- Translation Management
- Site View Permissions
- Component SQL Updates
- Site Edit Configuration
- JCB Backup System
- Helper Structure Integration
- JCB v2.5 Upgrade
- Tab Setup Guide
- JCB v2.6 Release
- Extended HelloWorld
- Field Rule Validation
- Community Snippets Intro
- Snippet Forking Tutorial
- Pull Request Snippets
- Library Manager Area
- Excel-based Translation
- Dynamic Router Details
- Database Auto Updates
- Subform Quick Demo
- VDM Package Import
- Dynamic File Inclusion
- File Field Upload
- Drag-n-Drop Upload
- Quick HelloWorld JCB
- Non-database Fields
- Dashboard Customization
- Menu Prefix Toggle
- Community JCB Packages
- Collaborative JCB Workflow
- JCB Package Install
- JCB JAB18 Event
- Convenient New Fields
- Component Language Strings
- Library Functionality Anticipation
- Join Field Relations
- License Template Change
- Code Reusability
- Local Dev Environment
- Extended Field Types
- Joomla Custom Fields
- Custom Field Expansion
- Site View Listing
- Run Expansion Method
- Form Site View
- Field URL Update
- Additional Helper Methods
- Field Validation Rules
- New Placeholder Feature
- Component Config Params
- Per-field Default Values