Can you confirm what version of SuiteCRM you are using?
In newer version in know you can from the detail view just drag and drop to rearrange, this is done to allow users to customise there own to the preferences. I assume that globally this could be handled via the vardefs.php however ive not checked that.
Starting with any user, from the home page of the CRM open the module in which you want to edit, open any record, scroll to the sub-panels and drag the header of the sub-panel so its on the opposite side of the next sub-panel. They should swap positions. Let me know if this works
Chances are the system is too outdated and this functionally wasn’t included at the time. You are currently using Version 7.9.9 which is already in EOL, I would definitively suggest upgrading to at least 7.10 in the near future. @pgr any idea’s on making this chance via the vardefs?
In the metadata/subpaneldefs.php you have an array with the subpanel definitions. This array has a ‘order’ that you can check and change to the desired order…
You can change this in a custom file ( custom/modules/<desired_module>/metadata/subpaneldefs.php or via the Extension framework: drop a file in custom/Extension/modules/<desired_module>/Ext/Layoutdefs/ with some content like:
You are right it works if we give order in subpanelsdefs array.
But it will be difficult to manage if we do it via code. Because there are many people who will be using this CRM and all of them will have their own way to order their subpanels.
Thank you for your help.
Do you think if i upgrade version of my SuiteCRM it will work with drag and drop ?
Ye i believe it would be in yours and your company’s best interested in upgrading to like i said before at least 7.10 latest as this not only includes the drag and drop feature along with many others but includes numerous important security fixes, always nice to have!