Hello,
Need Help to delete Edit button for Normal users in detail View of Notes in Sugarcrm Profesional version 5.5.1
OS : Windows and Linux
PHP: 5.2
Apache 2.2
Mysql: 5.2
Thanks,
Shivaranjani
Hello,
Need Help to delete Edit button for Normal users in detail View of Notes in Sugarcrm Profesional version 5.5.1
OS : Windows and Linux
PHP: 5.2
Apache 2.2
Mysql: 5.2
Thanks,
Shivaranjani
You could change this code
in include/Smarty/plugins/function.sugar_button.phpPHP Code:case "EDIT";
return '{if $bean->aclAccess("edit")}<input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" class="button" onclick="this.form.return_module.value=\'' . $module . '\'; this.form.return_action.value=\'DetailView\'; this.form.return_id.value=\'{$id}\'; this.form.action.value=\'' . $view . '\';" type="submit" name="Edit" id="edit_button" value="{$APP.LBL_EDIT_BUTTON_LABEL}">{/if} ';
break;
Harald Kuske
Pre-Sales Engineer Central Europe
SUGARCRM Deutschland GmbH
Erika-Mann-Str. 53, 80636 Munich, Germany
Email: hkuske@sugarcrm.com
Home: http://www.sugarcrm.com
Hello Kuske,
Thank you for your reply. I tried that but it did not work. Any other clues kindly let me know.
Regards,
ShivaRanjani
Then you did something wrong.
In my environment this method worked fine, always.
Try it again.
Harald Kuske
Pre-Sales Engineer Central Europe
SUGARCRM Deutschland GmbH
Erika-Mann-Str. 53, 80636 Munich, Germany
Email: hkuske@sugarcrm.com
Home: http://www.sugarcrm.com
What about just creating a role that disables the Edit privilege? Go to Admin, Roles and create a role that restricts Edit, then assign your users to that role.
Susie Williams
Thank you Susie, that could be really the best solution.
But perhaps ShivaRanjani has the same problem I had before.
I needed the right to create a bean but not to edit it.
E.g. it must be possible for a sales rep. to write a note, but not to change it.
A role "create" would be the solution and I think this could be very helpful.
Greetings
Harald
Harald Kuske
Pre-Sales Engineer Central Europe
SUGARCRM Deutschland GmbH
Erika-Mann-Str. 53, 80636 Munich, Germany
Email: hkuske@sugarcrm.com
Home: http://www.sugarcrm.com
Thank you for all,
But It did not work for me.I am using sugarpro5.5.1.Thank you once again for your support.
Regards,
ShivaRanjani
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks