Re: Inline Record Editor
Does this plugin come with any setup instructions? I have added inlineEditing.php to my plugins folder, made the changes suggested by Deborah to bring it upto date with v7, and activated it. But I can't actually see any change. I think there may be additional steps required?
I'm using 3.53 and 7.3.27
Thanks in advance
This is a custom-built plugin so unfortunately there's a limit to the support we can provide for its general use. Having a quick look at the plugin it's unclear if there are missing setup steps, or possibly some incompatibility with your CMSB version. If you can locate any specific errors it's causing we may be able to provide some guidance to resolve those. Otherwise, if you'd like some more direct assistance getting the functionality working, feel free to send us an estimate request (https://www.interactivetools.com/estimate/) and we'd be happy to look into it.
CMSB has an internal function called "userHasFieldAccess()" which can be passed a field's schema array and will check to see if the current user has access to it - this is where I would start. It looks like the plugin has access to $GLOBALS['schema'] for the current table, which should contain the field schema arrays. Alternatively, you could also potentially use "getSchemaFields()" which can be passed a table name to return all the schema fields. Once you are able to determine if a user can edit each particular field in the table, you should be able to then selectively execute the replacements in the plugin.
Hope that gets you pointed in the right direction! Let me know if you have any other questions.