Change Created By
3 posts by 2 authors in: Forums > CMS Builder
Last Post: October 15, 2009 (RSS)
By Kenny - October 15, 2009
An admin user can change the "created by" on any particular record by clicking "change" next to the users name.
I need an "editor" without admin access to be able to do the same thing. Is this something I can change?
Kenny
I need an "editor" without admin access to be able to do the same thing. Is this something I can change?
Kenny
Re: [sagentic] Change Created By
By Dave - October 15, 2009
Hi Kenny,
Sure, here's some code changes (for advanced users):
- Open /lib/menus/default/edit_functions.php
- Search for $changeLink
- Add the code in red:
- The save code is already written to allow editors to update that so only the UI code needs to be updated.
Hope that helps! I'll put this in the next release.
Sure, here's some code changes (for advanced users):
- Open /lib/menus/default/edit_functions.php
- Search for $changeLink
- Add the code in red:
$changeLink = '';
if ($CURRENT_USER['isAdmin'] || $GLOBALS['hasEditorAccess']) { ...
- The save code is already written to allow editors to update that so only the UI code needs to be updated.
Hope that helps! I'll put this in the next release.
Dave Edis - Senior Developer
interactivetools.com
interactivetools.com