I’m trying to customize editLink in “process_record” hook, I don’t know how to customize this link because I can’t find it in the bean like other data as the name field.
The hook is working, I just need to know how I can customize this link.
Well i’m searching in the search form in the header, who’s searching only in a custom module.
It’s exactly the link that is printed in the tpl ListViewNoMassUpdate (line 93) in the pageData {if $pageData.access.edit && $pageData.bean.moduleDir != "Employees"}
It point to the Edition of the value clicked
What i’d like to know it’s if I can acceess what refers to the var pageData in the Hook because this link is not in the Bean… Or if I can customize the ListViewNoMassUpdate, I don’t want to loose my mods when I’ll update suiteCRM.
What I want to do is quiet simple, I just want to hide the pen edit without changing ACL because the role in cause can edit just some parts of the data, not all the data.
I thought that it would be easier just to hide the link in the logic hook that catch the process_record. But it’s not
There’s a way to modify the tpl upgrade-safe ?
P.S : i think i just need to change this value "$pageData.access.edit "
Nothing in suiteCRM code shows that you can override the ListViewNoMassUpdate.tpl or the UnifiedSearchAdvanced who calls the template. As you already said to someone not all the CRM can be override in the custom folder.