How is the process to remove a subpanel ?
How is the process to remove a subpanel ?
Hi Rodrigo Manara,
Mobile uses a different layout than the base layout - so you'll have to edit the mobile layout for the module in which you want to hide the subpanel. To "always" hide a subpanel in mobile, you can edit the following file (to keep things simple for now):
custom/modules/Accounts/clients/mobile/layouts/subpanels/subpanels.php
Note that the layout folder is different - clients/mobile layout.
The subpanels.php file defines which subpanels are displayed. If this file is not present, copy it from the main modules folder. Modify this file as needed, comment/uncomment the section that you don't want and then do a Quick Repair/Rebuild. This will hide the subpanel only in mobile layout.
There are also other ways to hide a subpanel using php config, and you know how to do that based on the links that you shared already.
Also, this method I don't think there is an easy way to "conditionally" hide subpanels in mobile, as Andre mentioned. This solution is only to "always" hide a subpanel.
Please let me know if this helps!
Hi Rodrigo Manara,
Mobile uses a different layout than the base layout - so you'll have to edit the mobile layout for the module in which you want to hide the subpanel. To "always" hide a subpanel in mobile, you can edit the following file (to keep things simple for now):
custom/modules/Accounts/clients/mobile/layouts/subpanels/subpanels.php
Note that the layout folder is different - clients/mobile layout.
The subpanels.php file defines which subpanels are displayed. If this file is not present, copy it from the main modules folder. Modify this file as needed, comment/uncomment the section that you don't want and then do a Quick Repair/Rebuild. This will hide the subpanel only in mobile layout.
There are also other ways to hide a subpanel using php config, and you know how to do that based on the links that you shared already.
Also, this method I don't think there is an easy way to "conditionally" hide subpanels in mobile, as Andre mentioned. This solution is only to "always" hide a subpanel.
Please let me know if this helps!