Updated 038 Setup Site Edit View in JCB (markdown)
parent
7990eae783
commit
06c37cc6d5
@ -2,11 +2,11 @@
|
||||
|
||||
### Adding Admin View To Front-End Site
|
||||
|
||||
Hi. I'd like to quickly give you a tutorial on how to add an admin view to the front end of your site. There can be editing and submission of the front end of this specific admin view. To illustrate this, [00:00:23](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h00m23s) I'm going to use the public version of JCB, it has this demo version in it. First I'll compile it and install it to the local Joomla website. We can see what happens. Install it, open it. Here we have the demo version that is publicly available and it has a admin view called "Looks". [00:01:07](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m07s) If you go to the list view of the admin view, called Looks, you see there is none, we will create new. There is a description box in the new view. A more item, where you can click, and see some custom fields: email, mobile phone, date of birth, image, website. And your normal publish, permission, structure for the view, [00:01:37](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m37s) and the name field. Now that's what I referred to as the admin view. It's this combination of fields working together in one view.
|
||||
Hi. I'd like to quickly give you a tutorial on how to add an admin view to the front end of your site. There can be editing and submission of the front end of this specific admin view. To illustrate this, I'm going to use the public version of JCB, it has this demo version in it. First I'll compile it and install it to the local Joomla website. We can see what happens. Install it, open it. Here we have the demo version that is publicly available and it has a admin view called "Looks". [00:01:07](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m07s) If you go to the list view of the admin view, called Looks, you see there is none, we will create new. There is a description box in the new view. A more item, where you can click, and see some custom fields: email, mobile phone, date of birth, image, website. And your normal publish, permission, structure for the view, [00:01:37](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h01m37s) and the name field. Now that's what I referred to as the admin view. It's this combination of fields working together in one view.
|
||||
|
||||
### How To Add Editing Area
|
||||
|
||||
Now what I will show you is how to add editing area, these three tabs to the front end of your site that it will function like a form. Who you would allowed to access the form will depend upon the permissions structure. You will see the permission structure is what [00:02:14](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02myou just Haven't kept in m14s) controls, who can edit and who can add items to a specific admin view. Currently as you can see your public cannot edit this, if we created an item they cannot edit it. There's an item level on permissions. If I close out then you'll see in options there is also a global control on permissions. The global control of permissions [00:02:46](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m46s) is also, if you want public to be able to submit to this form, you need to allow them to be able to create. You would say allow, and the public is allowed to create. You will see that most components has more than one view. This one has only one it's called look. So you'll also have to over here(look create) [00:03:13](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m13s) say allow, and if you want them to edit existing submissions. There is the edit state, edit own, created by, all these things in the global spec, as well as in the local edit of the view.
|
||||
Now what I will show you is how to add editing area, these three tabs to the front end of your site that it will function like a form. Who you would allowed to access the form will depend upon the permissions structure. You will see the permission structure is what [00:02:14](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m14s) controls, who can edit and who can add items to a specific admin view. Currently as you can see your public cannot edit this, if we created an item they cannot edit it. There's an item level on permissions. If I close out then you'll see in options there is also a global control on permissions. The global control of permissions [00:02:46](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h02m46s) is also, if you want public to be able to submit to this form, you need to allow them to be able to create. You would say allow, and the public is allowed to create. You will see that most components has more than one view. This one has only one it's called look. So you'll also have to over here(look create) [00:03:13](https://www.youtube.com/watch?v=tmB22d9dQ4M&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&t=00h03m13s) say allow, and if you want them to edit existing submissions. There is the edit state, edit own, created by, all these things in the global spec, as well as in the local edit of the view.
|
||||
|
||||
### Two Switches
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user