Hi all,
I'm trying to create a new module like Calls or Tasks, accessible from Activities module. When you click on 'Tasks' or 'Create Tasks' from the shortcuts in the left, you stay in Activities tab.
Can I do that ?
Thanks in advance
Hi all,
I'm trying to create a new module like Calls or Tasks, accessible from Activities module. When you click on 'Tasks' or 'Create Tasks' from the shortcuts in the left, you stay in Activities tab.
Can I do that ?
Thanks in advance
Hi
1.Go the following file path /themes/your theme name/header.php file.
2. Check the following line of codes
$activities= array("Calls","Meetings","Tasks","Notes");
if (in_array("Calendar",$moduleList))
{
$cal_activities= array("Calls","Meetings");
if (in_array($currentModule,$cal_activities))
{
$currentModule = "Calendar"; // this current module specifiy the //current modules
} else {
if (in_array($currentModule,$activities)) {
$currentModule = "Activities";
}
}
} else {
if (in_array($currentModule,$activities)) {
$currentModule = "Activities";
}
}
If you want to stay in Activities tab. Changer the current module value likes this.
$activities= array("Calls","Meetings","Tasks","Notes");
if (in_array("Calendar",$moduleList))
{
$cal_activities= array("Calls","Meetings");
if (in_array($currentModule,$cal_activities)) {
$currentModule = "Activities"; // this current module specifiy the current modules
} else {
if (in_array($currentModule,$activities)) {
$currentModule = "Activities";
}
}
Last edited by crmbalah; 2009-05-07 at 03:17 PM.
Thanks, I did'nt think to look into the header.php file...
Have a nice day!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks