Collapsible Navigation Menu in Sage CRM v7.2

By | January 9, 2015

Sage CRM Client Side Scripting provides vital features to customize Sage CRM the way a user needs. We have discussed several tricks on Sage CRM Client side scripting in our previous posts. You can refer Also Read section at the end of this post for more details.
In this blog post, we will explain how Navigation Menu can be made collapsible in Sage CRM v7.2 using Sage CRM Client Side API methods.
New Stuff: How to Add or Remove tabs form My CRM
Let us consider an example where you want to make Sage CRM Navigation menu to be collapsible throughout Sage CRM. You need to follow below steps for the same,
1) Login to Sage CRM.
2) Navigate to below path.
Administration | Customization | Translations
3) Search for the Translation with Caption Family as TabNames and Caption Code as MainMenu.
4) Select the Caption Code and Paste the below code into the US Translation as shown below.
Nav1
<script>
crm.ready(function ()
{
crm.hideNavMenu();
});
</script>
Note:
Make sure that the Main Menu word previously added into US Translation should not be removed (Refer screenshot).
5) Click on Save button.
Once done, you will see that an arrow will be added to the Main Menu panel. Refer below screenshot.
Nav2
On click of Arrow, Navigation menu will collapse as shown below.
Nav3
On clicking the arrow again, Main Menu Navigation pane will be visible again.
This way, if a user wants to have a collapsible panel, he just needs to click on Arrow button and navigate in Sage CRM.
Also Read:
1) Get Active tab through Client side scripting
2) Add Print Button to Print Entity information in Sage CRM v7.2
3) Information and Error Message feature in Sage CRM v7.2
4) Avoid scrolling with Collapse Screen Feature in Sage CRM7.2
5) Display Background Color on Required Fields in Sage CRM v7.2