How To Limit User Changes
7 posts by 2 authors in: Forums > CMS Builder
Last Post: June 24, 2010 (RSS)
By (Deleted User) - June 22, 2010
I want them to be able to view the information but not be allowed to make changes to those fields and also there username, first name, and last name.
I have tried using the "system field - restrict field editor access to this field" but it does not do anything at all, the user can still save new data in the field. I only want the Admin account to make changes to these fields and not our clients. It would defeat the entire reason on why we need CMS.
THANKS!
Re: [theugpa] How To Limit User Changes
By Jason - June 23, 2010
You can display information that cannot be edited by user "separator" fields. However, if you set a user's permission to be able to access the "User Accounts" section, they have access to all fields as it's seen as giving them administrative access.
One solution would be to set up a separate .php page that just outputted user information and could be linked to from CMS Builder. That way no fields can be edited.
Hope this helps.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] How To Limit User Changes
By (Deleted User) - June 23, 2010
Re: [theugpa] How To Limit User Changes
By Jason - June 23, 2010
Are you trying to show information that's stored in the accounts page from a section other than the "User Accounts" section?
If so, there is a work around we can try.
Let me know.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] How To Limit User Changes
By (Deleted User) - June 23, 2010 - edited: June 23, 2010
Re: [theugpa] How To Limit User Changes
By Jason - June 23, 2010
If you could let me know which section in your cms you want clients to be able to view information and email me your CMS Login and FTP details to jason@interactivetools.com I can see what can be done.
Remember, only email this information, don't post it to the forum.
thanks.
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [theugpa] How To Limit User Changes
By Jason - June 24, 2010
I've added 3 html separators to the "User Account" Section. These are used to display user information (cid, username,fullname). Now, to make sure that nothing else is displayed in the "My Account" section, go to the User Account section editor. Click on "Modify" for each field. At the bottom of the page there is a checkbox that says "My Account - Show this field in "My Account" section". Uncheck this field for each field you DON'T want to display in the "My Account" page.
I also had to alert your CMS Builder code to allow HTML separators to display user information.
(cmsAdmin/lib/menus/default/edit_functions.php. I added the line "global $CURRENT_USER;" to the _showseparator function).
This information now displays on the "My Account" page, but can't be edited.
Hope this helps
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/