From 9bf2e0306169f5f224ad0f4d685ea8f75ae2c7bc Mon Sep 17 00:00:00 2001 From: Joseph Geller Date: Tue, 25 Sep 2018 12:47:48 -0500 Subject: [PATCH] Updated 4a. JCB Demo Component Directory, Folders and Files (markdown) --- ...JCB-Demo-Component-Directory,-Folders-and-Files.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md b/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md index b7cb09f..e6b64cc 100644 --- a/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md +++ b/4a.-JCB-Demo-Component-Directory,-Folders-and-Files.md @@ -284,11 +284,14 @@ defined('_JEXEC') or die('Restricted access'); * Add a registered user. * Create a Joomla! menu item for the demo component looks, access should be registered. * Update the look table with the registered user is in created by and modified by columns if the table. -* Login as the registered user, select the looks option from the main menu and the following should display: -[Site Looks 1](https://github.com/joejvggithub/Joomla-Component-Builder-Wiki/blob/joejvggithub-jcb-demo-wiki-images1/siteDemoLooks1.png)) +* Login as the registered user, 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. +* Clicking the edit toolbar displays the admin view look, displaying only the actions defined for that user group. +- Save +- Save and Close +- Close +* The More button is also enabled allowing entry of the additional fields on the form. -- The site view looks -- The site view looking \ and the admin view look so one can edit their own look record in the looks_demo table. By default, access control is only allowed for the super administrator. If access is given in Joomla!'s ACL to the JCB Demo component for let's say the registered group of Joomla! users, the edit button will display below the name and description. This brings up the matter of access control levels or ACL in Joomla! See the text after the view for information or you will not be able to edit a look despite owning it. Custom Script