Hi,
I’m converting one of my websites from our own CMS to the ModX Revolution CMS. I’ve run into a little problem while doing this. One the current site, we have a control panel where the users can go and click a link to update certain sections of the website. I have no problem for them updating their text...that part is very simple. Now I need them to be able to update a profile information. I need to be able to update 5 members of a group (their name, position and an image for the fields).
I would like to allow them to edit this from the manager section of the website instead of having to sign in again into another section of the website. Is there a way to let them update the profile information while in the manager, or am I going to have to create a password protected section for these types of updates?
Thanks,
Dustin
--
Dustin Miller
Cold Snap Technology
www.coldsnaptechnology.com
218-229-2887
I’m not totally clear on what you want, but if you want them to be able to update the User Profile of some users but not others, I don’t think there’s an easy way to do that in the Manager. You might be able to do it with a plugin that would be connected to OnUserFormPrerender that just forwarded them to another Manager page if the user ID wasn’t in the group. It should be available in the plugin as $id.
Hi Bobray,
Thank you for the response. I’m sorry my question is not clearer....I’m not sure how to word it, but I will try again. (I will also give what you said a shot...but think it is a little different than what I want).
Basically I have a city website I’m converting to modx from a flat file system.
There are 5 members (mayor and 4 councelors).
Each has an image, name, and position.
I would like to update all of them from the back-end (manager section of modx). I’d like to be able to update the image, change the name and position at any time easily. (if it was going to be just me updating the site, I would just use chunks and put the information in...but the client isn’t familiar with html at all).
I’d like to have them saved into their own table (so I know I have to use $modx->query($q) and such) so that I can get their information on multiple pages. Their information is displayed on the city council page and a 2-3 other pages as well.
**********************
Currently the client signs into a control panel and selects to edit the city council page. On that page there are fields for each of the members that they can just edit and click update.
***********************
Hope this helps a little...let me know if there is a way I can try to ask a little clearer for you...I know this isn’t the clearest.
Thanks again,
Dustin
--
Dustin Miller
Cold Snap Technology
www.coldsnaptechnology.com
218-229-2887
You might consider doing it in the front end with NewsPublisher. TBH, I think that would be a lot easier because it’s very easy to show just the fields they should edit and restrict access to certain user groups. You could use the Login snippet to redirect them to that specific page.
Otherwise, you could make each entry a TV, use Form Customization to hide the fields they shouldn’t see, and use Resource Groups and Resource Group Access ACL entries to hide the pages they shouldn’t see.
Thanks, I will give that a shot and see how that goes. Thanks again for the help!
--
Dustin Miller
Cold Snap Technology
www.coldsnaptechnology.com
218-229-2887