Updated 4a. JCB Demo Component Directory, Folders and Files (markdown)

Joseph Geller
2018-09-27 11:59:35 -05:00
parent 1018f93651
commit 67554f7836

@@ -327,11 +327,11 @@ Doing the above also ensures only certain actions are allowed for certain users.
The filter allows them to edit only their own look records in the demo_look table. Login to the site area as a Super Administrator to see all records in the admin view. Performing the previous instructions also restricts a Registered User's actions to display only the following buttons in the looking view:
* Save
* Save and Close
* Close buttons
* Save button
* Save and Close button
* Close button
If you add more permissions, more actions and hence more buttons will be allowed such as Save and Copy. Change the JCB Demo component Joomla! ACL permissions and you can see the effect on what edit buttons appear immediately since components do not need to be compiled by JCB for these settings to change.
If you add more permissions, more actions, as long as they have been defined first as was mentioned previously, and hence more buttons will be allowed such as Save and Copy. After adding the appropriate actions to the view and compiling it, change the JCB Demo component Joomla! ACL permissions and you can see the effect on what edit buttons appear immediately since components do not need to be compiled by JCB for these settings to change.
Continuing with the edit functionality:
* Edit the look record in the demo_look table. It is important you understand this is reusing the admin view look, edit look. You can see this in the form tag located in the source of the page. Use a browser tool such as Chrome, Developer tools to do this.