Updated 003 Installation of JCB (markdown)

Amigo 2019-05-16 11:51:12 +02:00
parent a78ab5a160
commit 0b6f600527
1 changed files with 1 additions and 1 deletions

@ -4,4 +4,4 @@ We are in Component Builder at the Dashboard in the back end of a Joomla website
I will first show you the Components that I have build and how I have been able to manage them.Obviously I have a lot in Archive, but these are a few that I have done. As you can see, these are the Component Builder for Developers. There is the Component Builder for Developers and the how to's. Then there is the three Component Builders, and all three of them are living inside the same Component Builder. The only difference between them is the database in certain things that they compile. But they all are using [00:01:10](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m10s) the same admin views. They are all using the same infrastructure, information, settings, and so forth. It is that simple to have one component, and have it in different versions made available to your clients. Which is all possible in Component Builder by simply copying one and then making changes to that copied one. Now it links to views which I will explain as we continue. Now I am simply going to take the Compiler and I am going to compile the public, the free one, because I am going to use that to show you how to build your own Component. I will compile it, which starts up the compiler and all the script, taking all the data in the database [00:02:14](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m14s) and puts it into the code. Then we would need to run the application. If it is done compiling, it tells how many lines are written, how many hours are saved. If I had to write those lines manually you can read through some of it. It's quite interesting. Obviously I spend more hours on this than what they say there, but that's why these are just estimates. Based on calculating the nine numbers and not calculating the actual interaction that we've had, you can install the Component if you've done it right. Just click in there or you could download and install it elsewhere, or we could use this URL which is at the moment relating to my offline Environment. Once you've done whatever you wanted to do if you click this [00:03:18](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m18s) Whom you needed it but if you're running on the online Environment and you use some of these links to install it elsewhere, then play. Please remember to clear your temporary folder because if you don't this component can be downloaded in your temporary folder. For example, open that website and go to its temporal folder. You'd see the component in a zip file; anyone that can access this file can download it. I'll be mentioning this a few times because part of why you might be interested in using my application is because you want to ensure that what you do remains yours, and this is part of what you need to know to ensure that. [00:04:22](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h04m22s)
Now I'm going open a test website and I'm going to run everything there. I'm in the installing Area which is basically a blank test website just installed. I'm going to use this link here; I paste a URL in there and click install. It should say the following to you when you have done that.
Just a side note. (This is if you've started working with component Builder as a free version and you've purchased one of the paid versions.) [00:05:26](https://www.youtube.com/watch?v=t6Eux157428&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h05m26s) The difference between them is only the data that is in the database. The features and the functionality are all the same. So if you have installed the free version, you would need to add the database information from the paid versions.
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. Now 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 there. [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.
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. Now 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 there. [00:06:59](https://www.youtube.com/watch?v=t6Eux157428&list And I'm gonna do it inside this version And at least we have something to start with Ok well That's enough for this tutorial =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.