16 054 VDM Package Import Option
Amigo edited this page 2019-09-06 11:19:06 +02:00

VDM PACKAGE IMPORT OPTION

00:00:00 (Click on these time links to see Youtube video)

This VDM package option that has been put in place will be great news for those who have purchased some of the JCB packages, like the Advanced Demo Component and the Sermon Distributor Component.

00:00:20

This is a demonstration of what had been done and also some suggestions for future changes in the import components area. An extra tab has been added by which paid or free components can easily be imported. 00:00:39 It is called the VDM packages.

It will take a while to load it since it queries GitHub and checks and gets a list of all the latest packages. If GitHub is updated it will automatically show the new packages. 00:01:01 At the moment Hello World and the Demo versions are free packages and we are planning to add some more.

If Sermon Distributor is Reset - Everything Gets Reset

00:01:24

If you have already purchased the Sermon Distributor version, just select it. Since JCB is constantly improving and with it Sermon Distributor, we are making changes to Sermon Distributor and if you want to update yours or even if you have played with it and you want to reset it, but remember if you have to reset it, it will reset everything including every field and even Field Types. 00:01:52 Do keep that in mind that if you install this package over the existing one, it will revert everything back, what is great though, is that Joomla keeps history. 00:02:07 If you put your history on for the JCB component, you could take a step back to some of those areas.

Install By Clicking Get Package - Read All Information That Is Given

00:02:22

Select the package that you would like to install and then click on 'Get Package'. This will take a while as it is downloaded from GitHub. Please make sure to read all these things. You should end up on the page which usually shows who created the package. If you do not have a key, you could click on this 'sermondistributor' link to buy the key, 00:02:55 or get it from any of the other packages as well, there is a link that says 'Buy Packages'. Here it will show the component that is being installed, SERMON DISTRIBUTOR 2.0.2 which is the latest version. You can add your key here. Then click 'Continue'. Then it gets installed.

Quiet Switch Added

00:03:28

We added this new switch here 'Quiet' . Some of the releases might have a spelling mistake like this one here which is 'Quite'. It has been fixed and a fix for this had been pushed out. This 'typo' will be fixed in JCB 2.7.1. 00:03:50 This 'Quiet' switch gives the option to see exactly everything JCB does when a package gets imported. It shows what IDs were changed but it does not give you the names, only the ID references. 00:04:19 Usually, it is set to quiet, so that you do not see all that detail except you would like to see if things had been done.

Force Local Update - Overwrite Existing Data

00:04:33

If you want to overwrite existing data the 'Force Local Update' may be used. If it finds an item and that item is newer than the one 00:04:48 that is being imported then it drops the import option, and it keeps the newer version in your system. It usually worked like this when the Force Local Update had been clicked to 'No'. If you change it to 'Yes', then it will ignore the time stamp completely and update the item irrespective of whether it is newer or older or whatever. 00:05:15 Add the ID and then click 'Continue'. Now you will have a very detailed printout. It will indicate that it has been found, and then updates it. But if it is not found, it will say, that ID so and so, in a certain field was changed to ID so and so, and it has been imported. 00:05:44 There is quite a long list of everything it did and at the bottom, it says 'Great!'

Everything was visible because we ticked it not to be Quiet. Sermon Distributor was imported. It should have all the data here. If the licensing might have changed another license (vdm.txt) can be added and then save and close.

Then you can compile it. 00:06:28 Select Sermon Distributor, click Compile, and then once it is compiled, then you have the Joomla package. It also includes the external script which is also a demonstration of the adding external scripts. It grabs it from GitHub. 00:06:54 It is simply a script that checks for 'mime_types'. The first time it is very detailed but if it is open again, only this may be seen; (There have been 2 - code 'strings added to this component as EXTERNALCODE. To avoid shipping your component with malicious code'strings always make sure that the correct code'string values were used.). Only if it changes will you see something like that again. You can click on install. If you go to components there it is Sermon Distributor fully mapped, and all functional. 00:07:17 JCB has built this by importing it first from our GitHub repository. Then you are able to adapt it and use it anywhere. That is the new feature, hope you like it.

Suggestion - Community Tab

00:07:39

Go back there for a moment to Importing Components. The suggestion is to have a 5th tab. So there will be this tab VDM packages and then a Community tab where members of the community can share free components. We are still thinking about a sharing paid components tab. 00:08:04 We want to avoid that it to become too complicated because if you click on anything and then click Get Package, that package has internal variables which decides what that values are going to be. 00:08:28

If we would click this 'googlePlusProfileFeed' value, it takes you to my shop where that specific product may be purchased. That is a value determined by the package which means it should not be that hard for us to include paid components. 00:09:06 Still under discussion is whether JCB should ask a contribution to support a project in this way.

If anyone has suggestions please post it here at the bottom of the video, make comments. At the end of the day, we want to make sure that the community can use this as a nice tool. 00:09:33 I even thinking of moving this option, this Importing of components, to an actual tab, on the dashboard. So you can get to this page without having to first go to components and then click through here. 00:09:54 There is even that kind of discussion. But just for now we wanted to demonstrate the new feature. It has been able to do that already. We just did not have that extra tab but you could have copied the links to those packages on GitHub and have imported them that way. That is what the ReadMe files would have shown you if you purchase any of these keys.