How to hide the “All” tab from the Menu bar in sugarcrm

all

How to hide the All tab from the Menu bar in sugarcrm

How to Hide The ALL tab from the Menu bar 

Here i am explaining how to hide the All Tab Menu Bar from sugarcrm 6.4.4

STEP 1 :

Go to file
/include/MVC/View/SugarView.php
open the file in the php editor

STEP 2 :

Go to line number 509 and comment the line
$groupTabs[$app_strings[‘LBL_TABGROUP_ALL’]][‘modules’] = $fullModuleList;
below that add a new code
$groupTabs[$app_strings[‘LBL_TABGROUP_ALL’]][‘modules’] = ”;

So when you set that All menu tab only display one item under the subtab.

STEP 3 :

Now moving forward got to line number 513 and comment the line
$allGroup = $app_strings[‘LBL_TABGROUP_ALL’];

below that add a new code
$allGroup = $app_strings[‘LBL_TABGROUP_ALL’]  = ”;

For the higher version means Sugarcrm 6.5.* use the following way

/include/MVC/View/SugarView.php

Find for the ” $ss->assign(“groupTabs”,$groupTabs);”

just above this line put this code

//this code is used to hide the all tab

unset($groupTabs[‘All’]);
$ss->assign(“groupTabs”,$groupTabs);

STEP 4:

 Now save the file and refresh your sugarcrm instance. you will not find the ALL menu tab.

Advertisements