Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: CMS Builder:
Change Created By

 

 


Kenny
User

Oct 15, 2009, 10:34 AM

Post #1 of 3 (777 views)
Shortcut
Change Created By Can't Post

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


Dave
Staff / Moderator


Oct 15, 2009, 1:40 PM

Post #2 of 3 (773 views)
Shortcut
Re: [sagentic] Change Created By [In reply to] Can't Post

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:

Code
    $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
 


Kenny
User

Oct 15, 2009, 3:38 PM

Post #3 of 3 (766 views)
Shortcut
Re: [Dave] Change Created By [In reply to] Can't Post

Works great Dave - thanks