Updated 4a. JCB Demo Component Directory, Folders and Files (markdown)
@@ -301,10 +301,10 @@ Registered Users can:
|
||||
|
||||
Let's look at the code behind all of this. By default, the site view looks is not authorized for any user besides the Super Administrator although it displays on the main menu after logging in to a Registered User and above. If access is given in Joomla!'s ACL to the JCB Demo component for the Registered Group of Joomla! users, the view will display after logging in as a Registered User. For this to happen, the Joomla! ACL must allow access to the component as follows using the admin area's main menu option - Components, Demo, Looks, Options, Permissions tab, Registered:
|
||||
|
||||
Looking (Site) Access Allowed
|
||||
Looks Access Allowed
|
||||
Looks (Site) Access Allowed
|
||||
Looks Edit Own Allowed
|
||||
* Looking (Site) Access Allowed
|
||||
* Looks Access Allowed
|
||||
* Looks (Site) Access Allowed
|
||||
* Looks Edit Own Allowed
|
||||
|
||||
The first option only allows access to the site. The view will display a look but that's all. The second allows access and therefore all looks will display and can be accessed (but not edited) as long as the third access is also granted. The fourth allows editing the look if the user's id matches the one in the look_demo table record More details on th Joomla! ACL on this can be seen in [the video at](https://www.youtube.com/watch?v=gWjQjdhYqXI&list=PLQRGFI8XZ_wtGvPQZWBfDzzlERLQgpMRE&index=36).
|
||||
|
||||
@@ -325,11 +325,11 @@ By default, the JCB demo allows all user types except public and guest user grou
|
||||
* First, login as the registered user and select the looks option from the main menu
|
||||
* The site view looks displays with the Name and Description of the registered user's look and an edit toolbar underneath.
|
||||
* Click the edit toolbar and display the admin view look, displaying only the form actions defined for that user group.
|
||||
- Save
|
||||
- Save and Close
|
||||
- Close
|
||||
* The More button was enabled in the JCB demo
|
||||
- This allowing entry of the additional fields on the form.
|
||||
Save
|
||||
Save and Close
|
||||
Close
|
||||
* The More button was enabled in the JCB demo
|
||||
This allows entry of the additional fields on the form.
|
||||
|
||||
It's source in JCB is:
|
||||
|
||||
|
Reference in New Issue
Block a user