Control what your users can access and save time, money, and frustrations. Lock down sensitive data in SuiteCRM to specific groups or teams. Supports unlimited assigned users, unlimited group assignments to records, custom layouts for each group, login/sudo capabilities and much more.
#792 - Layout Issue
Hello,
I am currently using SuiteCRM 7.8.1 and using version Security Groups - Full Edition 2.9.6.
I have a module where I have created custom layout to match a security group the user belongs to. In DetailView it works but in EditView I still get the default layout. Any ideas?
Also, is there a new version I should move to? 3.9.6?
Thanks, Peter
6 years ago
Hi Peter,
Did you also deploy the custom Edit View layout for that group?
There is a 3.1.3 version now and SuiteCRM 7.8.1 support was just added. I will get that uploaded this week and let you know when that is available for download.
Thanks, -Jason
6 years ago
Yes - we have deployed the EditView for that security group many times. What is strange is the the DetailView is selected and used correctly and only the EditView defers to the default. Is there a possibility that the Repair is not clearing the cache or something like that? Any other suggestions? Thanks Peter
6 years ago
First thing I recommend is to install the new 3.1.3 version available in your downloads. Look for the SuiteCRM_7.8.1_SecuritySuite_v3.1.3.zip file.
Do not uninstall first. Just install in Module Loader on top of the existing install. Once installed run a Quick Repair & Rebuild and a Repair Roles.
If the edit view deploy still doesn't work it could be permissions related on the server. To rule that out I suggest checking the permissions and ownership in the SuiteCRM directory. This is a nice script to help set it for your server: https://shanedowling.com/sugarcrm-permissions-script/.
If that still doesn't help let me know and we can figure out the next steps.
6 years ago
I have downloaded and installed the lates version. Ran a Repair Roles and Repair/Rebuild. I also doubled checked my layouts and redeployed. The issue has not resolved itself yet. It is only one module and it is only the EditView that picks the default view but the List and the DetailView are correct. Next steps? Thx
6 years ago
I will send you an email with what we can try next.
6 years ago
We were able to work through this via email. The cause was a missing view.edit.php file for that specific module. We added just a shell class in that view file and the custom layouts started working. Hope this helps anyone else who comes across this issue.
-Jason
6 years ago
Excellent support from Jason