Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Editing the Activity/History subpanels within a Lead

Editing the Activity/History subpanels within a Lead 1 year 2 weeks ago #53952

  • adamabdelaziz
  • adamabdelaziz's Avatar
  • Offline
  • Senior Member
  • Posts: 49
  • Karma: 0
So the majority of my users are not tech savvy whatsoever so I am tasked with figuring out how to change the bottom section of a Lead where it shows "Activities, History, Campaigns, Events, Security Groups"

I see the latter 3 in the Studio but I do not see where to edit Activity and History in there.

They need it simplified so they do not have to click Activity->Log Call and instead have the subpanel strictly be Log Call, or Compose Email, or Write a Note, etc.

Having them click on a sub menu is too complicated and the main action has to be the primary button.

Is there anyway this can be done in the studio? If not where do I begin looking in the files. Thanks.
The administrator has disabled public write access.

Editing the Activity/History subpanels within a Lead 1 year 2 weeks ago #53990

  • cherub-chum
  • cherub-chum's Avatar
  • Offline
  • Premium Member
  • One Stop Solution
  • Posts: 148
  • Thank you received: 28
  • Karma: 12
Activities subpanel is a Collection Subpanel which is composed of Calls, Meetings, Notes and Emails. You can see its definition at
modules\Leads\metadata\subpaneldefs.php

In order to modify these you need to create files in the following directory to make is upgrade safe.
custom\Extension\modules\Leads\Ext\Layoutdefs\YourSubpanelName.php

So there would be 3-4 files as you need them. See "subpanel setup" of other modules within the modules folder to know more about how subpanels are setup.
Everything seems impossible, until its done.

Skype : cherubchum
The administrator has disabled public write access.
The following user(s) said Thank You: John - EZS

Editing the Activity/History subpanels within a Lead 1 year 2 weeks ago #54002

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7776
  • Thank you received: 1208
  • Karma: 281
@adamabdelaziz maybe the quick and practical solution you need is simply this: go into Admin / System Settings and change the setting for "show actions in dropdown menu" (or something similar).

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Editing the Activity/History subpanels within a Lead 8 months 6 days ago #59727

  • John - EZS
  • John - EZS's Avatar
  • Offline
  • SuiteCRM Is My Life
  • Posts: 327
  • Thank you received: 30
  • Karma: 6
in modules\Leads\metadata\subpaneldefs.php I see lines like
'get_subpanel_data' => 'function:get_old_related_calls',

I see this function is defined in /modules/Leads/Lead.php

(github.com/salesagility/SuiteCRM/blob/93...dules/Leads/Lead.php)

To get this to work in a custom module, I assume I'd have to replicate these functions inside the custom module. Any idea how?
Last Edit: 8 months 6 days ago by John - EZS.
The administrator has disabled public write access.

Editing the Activity/History subpanels within a Lead 8 months 1 day ago #59888

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 7776
  • Thank you received: 1208
  • Karma: 281
Hi John,

I've never done it but I think this post should be enough to get you on the right track:

urdhva-tech.com/blogs/add-custom-subpanel-in-accounts-module

That technique let's you define a specific file where the function is defined.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
The following user(s) said Thank You: John - EZS
Time to create page: 0.048 seconds
Powered by Kunena Forum