Hello,
There are 2 ways to achieve your requirement:
1. If you want to change the
default menu option for a particular user, you can do it by editing the user Information from the ProcessMaker Interface itself.
You can refer the following link to do so.
http://processmakerblog.com/processmake ... -software/
This changes the default menu that is loaded when the user logs in and also the sub-menu whenever user comes back to that menu.
2. If you want the change to be permanent i.e. for all users and irrespective of the default page during login, you can do the following changes in your ProcessMaker files:
* In the file
/opt/processmaker/workflow/engine/methods/cases/main_init.php, replace line number
61
Code: Select all$defaultOption = ($defaultOption != "") ? $defaultOption : "casesListExtJs";
with the following line of code:
Code: Select all $defaultOption = ($defaultOption != "") ? $defaultOption : "casesStartPage";
* In the file
/opt/processmaker/workflow/engine/methods/cases/casesStartPage.php, replace the block of code starting at line number
3 i.e.,
Code: Select allif (isset( $_GET['action'] )) {
$_SESSION['__currentTabDashboard'] = $_GET['action'];
}
$page = "";
if (isset( $_GET['action'] )) {
$page = $_GET['action'];
}
with the following block of code:
Code: Select allif (isset( $_GET['action'] )) {
$_SESSION['__currentTabDashboard'] = $_GET['action'];
}else{
$_SESSION['__currentTabDashboard'] = "startCase";
}
$page = "";
if (isset( $_GET['action'] )) {
$page = $_GET['action'];
}else{
$page = "startCase";
}
This changes the default submenu in Home menu.
Hope this helps
Best Regards
Mishika