Updated 003 Installation of JCB (markdown)

Amigo 2019-05-16 12:11:51 +02:00
parent eb44dd8adb
commit 7cd0a1459f
1 changed files with 6 additions and 1 deletions

@ -14,4 +14,9 @@ Just a side note. (This is if you've started working with component Builder as a
To continue on how to access the database information in your component.
I'm going to the zip file here in my file system. The zip file open here would go to admin. [00:06:02](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m02s) Now go to SQL. You'd see an install file. Open this install file. You want to guarantee that you would see it. It's the file that we are using to build a database. Look at all the tables at the very bottom of the file. [00:06:28](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m28s) After the tables there will be dumped information.
Now with the free version it's basically the field types that we've added, also some help menu information if I'm correct. With the paid version there will be many more details here. [00:06:59](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m59s) There are two ways for you to do this. One would be simply to uninstall the free version and install this one that you purchased when you do updates. It will never update this information. Joomla only uses this when it doesn't fresh install because that's the only time you create the tables. I didn't add this data to install instance since that would be too much. [00:07:29](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m29s) The second way to do this requires knowing My SQL. You can cut and paste this into My SQL, and replace this with the prefix of your tables. But first remove the data that are in the tables. Let me show you. Here we're in My SQL and there is the Database [00:08:03](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m03s) Tables of Component Builder. If you look at our archive you see that this is going to target the field types. So you go to field types. If you're importing the new data, go to operations, truncate that table like that, [00:08:30](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m30s) then go to My SQL. You go back to that file; first replace all those with the prefix. Let's make sure we don't grab the wrong stuff by accident. [00:09:15](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m15s) I'm going to have to replace all. Let's go back to our data. You would see it now I had updated the field there. Select and copy, then [00:09:49](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m49s) go to My SQL and paste it. Click Go. [00:10:29](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m29s) So that is how you would add the data without uninstalling the whole component. But since this is more advanced, and not ideal I would suggest another way. Go to the extensions manager and click on [00:10:53](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m53s) this manage area here. Select Component and uninstall it. Then reinstall the one that you can download from VDM.IO Once you have it installed it should look like this in the backend. You should have no components.[00:11:20](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m20s) The only things that will remain are the field types and only a few of them. Now the paid version looks different and so I'm going to uninstall this free one, then I'm going to install the paid one. Uninstall and as you can see it not only removed the component but it also removed any traces of it that was integrated into Joomla. If you install it again it's doesn't start creating duplicate values in the database. Let's install the paid version. [00:12:12](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m12s) Now if we go back to the component and to field types, you'd see that it has more field types and it has a few Fields setups as well. In fact this is the version called Developer which only has the demo component in it. I'm going use this version to show you how to build sermon distributor [00:12:44](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m44s) from scratch. I might skip certain things because it might get too long, but I'll show you from the ground up how sermon distributor is to be built. We'll continue with Field types in the next tutorial.
Now with the free version it's basically the field types that we've added, also some help menu information if I'm correct. With the paid version there will be many more details here. [00:06:59](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h06m59s)
There are two ways for you to do this. The first would be simply to uninstall the free version and install the one that you purchased when you do updates. It will never update this information. Joomla only uses this when it doesn't fresh install because that's the only time you create the tables. I didn't add this data to install in case since that would be too much. [00:07:29](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h07m29s)
The second way to do this requires knowing My SQL. You can cut and paste this into My SQL, and replace this with the prefix of your tables. But first remove the data that are in the tables. Let me show you. Here we're in My SQL and there is the Database [00:08:03](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m03s) Tables of Component Builder. If you look at our archive you see that this is going to target the field types. So you go to field types. If you're importing the new data, go to operations, truncate the table like that, [00:08:30](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h08m30s) then go to My SQL. You go back to that file and replace all those with the prefix. Let's make sure we don't grab the wrong stuff by accident. [00:09:15](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m15s) I'm going to have to replace all. Let's go back to our data. You would see it now I had updated the field there. Select and copy, then [00:09:49](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h09m49s) go to My SQL and paste it. Click Go. [00:10:29](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m29s) So that is how you would add the data without uninstalling the whole component. But since this is more advanced, and not ideal I would suggest another way. Go to the extensions manager and click on [00:10:53](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h10m53s) this manage area here. Select Component and uninstall it. Then reinstall the one that you can download from VDM.IO Once you have it installed it should look like this in the backend. You should have no components.[00:11:20](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h11m20s) The only things that will remain are the field types and only a few of them. Now the paid version looks different and so I'm going to uninstall this free one, then I'm going to install the paid one. Uninstall and as you can see it not only removed the component but it also removed any traces of it that was integrated into Joomla. If you install it again it's doesn't start creating duplicate values in the database. Let's install the paid version. [00:12:12](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m12s) Now if we go back to the component and to field types, you'd see that it has more field types and it has a few Fields setups as well. In fact this is the version called Developer which only has the demo component in it. I'm going use this version to show you how to build sermon distributor [00:12:44](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h12m44s) from scratch. I might skip certain things because it might get too long, but I'll show you from the ground up how sermon distributor is to be built. We'll continue with Field types in the next tutorial.