Updated 044 Hello World Component with Joomla Component Builder Creator Extended (markdown)
parent
1b7dce7e40
commit
7c9ad17ef2
@ -271,19 +271,19 @@ Now if the Admin area is done, continue to the front end where I will illustrate
|
|||||||
|
|
||||||
[00:48:42](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h48m42s)
|
[00:48:42](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h48m42s)
|
||||||
|
|
||||||
First, a Dynamic Get should be created. There are two ways to get to the Dynamic Get area. One is to click on 'Add Dynamic Get' and the other way would be via the submenu and then click New. Two Dynamic Gets are needed; one to return a list of greetings and one to return a single greeting. The one Dynamic Get is going to return all the greetings that are available and published. The second one is when one of those greetings is clicked it should open only that greeting. The 'Name' is going to be used as who is being greeted, and then the greeting will only show when we click on the name and then show that individuals' greeting.,,,,,>>>>>
|
First, a Dynamic Get should be created. There are two ways to get to the Dynamic Get area. One is to click on 'Add Dynamic Get' and the other way would be via the submenu and then click New. Two Dynamic Gets are needed; one to return a list of greetings and one to return a single greeting. The one Dynamic Get is going to return all the greetings that are available and published. The second one is when one of those greetings is clicked it should open only that greeting. The 'Name' is going to be used as who is being greeted, and then the greeting will only show when we click on the name and then show that individuals' greeting.
|
||||||
|
|
||||||
### Adding Edit/create Buttons Controlled By Permissions Structure Of JCB
|
### Adding Edit/create Buttons Controlled By Permissions Structure Of JCB
|
||||||
|
|
||||||
[00:50:05](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h50m05s)
|
[00:50:05](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h50m05s)
|
||||||
|
|
||||||
In this area where we can see the full greeting, we are going to add an Edit button. And in the List area, we are going to add a Create button. These Create and Edit buttons are going to be controlled by the Permissions structure which JCB puts into your Component by you just saying that it should be there. Setting up a Dynamic Get is quite easy.
|
In this area is the full greeting. An Edit button is going to be added and a Create button is going to be added in the List area. These Create and Edit buttons are going to be controlled by the Permissions structure which JCB puts into your Component if it is set to do so. Setting up a Dynamic Get is quite easy.
|
||||||
|
|
||||||
### First - Use Back-end View
|
### First - Use Back-end View
|
||||||
|
|
||||||
[00:50:23](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h50m23s)
|
[00:50:23](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h50m23s)
|
||||||
|
|
||||||
First, know that I'm going to use a Back-end View which is related to my component. I'm going to select that Back-end View, you see it says Greetings(first). Like I said before with a system name is what is used in the dropdowns. Here we select Greetings(first). This one(getType) is going to bring back a getlistQuery. We don't want any Pagination. I don't need all of this. We don't need [00:50:59](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h50m59s) the asset id. We can leave the created by and the created. We can take out the modified, the version we can also leave. The hits and the ordering that's fine. The greeting we most certainly don't need in a list, we only need the name. Let's give it a Name that we can sort of identify when we start setting up the site view. We call this List [00:51:35](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h51m35s) Greetings and in brackets (Name only) so that weArea will know this is what it is. Going to save that. You didn't need to save it.
|
First, know that I'm going to use a Back-end View which is related to my component. I'm going to select that Back-end View, you see it says Greetings(first). Like I said before with a system name is what is used in the dropdowns. Here we select Greetings(first). This one(getType) is going to bring back a getlistQuery. We do not want any Pagination.(See video) We do not need the 'asset id'. [00:50:59](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h50m59s) Leave the created by and the created, take out the modified, the version may be left. The hits and the ordering are fine. The greeting is most certainly not needed in a list, we only need the name. Let's give it a Name that we can sort of identify when we start setting up the site view. We call this List [00:51:35](https://www.youtube.com/watch?v=IQfsLYIeblk&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h51m35s) Greetings and in brackets (Name only) so that weArea will know this is what it is. Going to save that. You didn't need to save it.
|
||||||
|
|
||||||
### Tweaking The Data Without Saving
|
### Tweaking The Data Without Saving
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user