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