Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: Remove Columns on History Subpanel

Remove Columns on History Subpanel 1 week 2 days ago #77749

  • pbeirao
  • pbeirao's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Hello,

I am trying to remove the columns "Date Modified", "Due Date" and "Contact" on the subpanel History (used on contacts, accounts etc.). Unfortunately, is not possible to edit the layout through Studio. I am trying for days to remove these columns by code, with no success. Can someone help me, please?
The administrator has disabled public write access.

Remove Columns on History Subpanel 1 week 2 days ago #77763

  • AlxGr
  • AlxGr's Avatar
  • Offline
  • Senior Member
  • Posts: 71
  • Thank you received: 9
  • Karma: 0
History panel is managed different than most of the modules panels. Some of History panel records are managed from the source module. For example for Notes under History, Columns are managed from file located here:

\modules\Notes\metadata\subpanels\ForHistory.php

You should be able to copy the above file to :
\custom\modules\Notes\metadata\subpanels\ForHistory.php

... and modify the columns from there.
The administrator has disabled public write access.

Remove Columns on History Subpanel 1 week 2 days ago #77766

  • pbeirao
  • pbeirao's Avatar
  • Offline
  • New Member
  • Posts: 4
  • Karma: 0
Thank you for your answer.

On my case, neither contacts or account have that file "ForHistory" on their respective subPanels.
The administrator has disabled public write access.

Remove Columns on History Subpanel 1 week 20 hours ago #77829

  • AlxGr
  • AlxGr's Avatar
  • Offline
  • Senior Member
  • Posts: 71
  • Thank you received: 9
  • Karma: 0
Sorry I think I didn't understand your initial request. Any way, the history subpanel is feed with data from various modules, including notes, emails, calls, etc so if we want to modify the way data is displayed, we need to go to those modules and manually modify the files with the ForHistory.php under this modules.

Now to modify the layout of the history subpanel you should find the definitions under

\modules\History\metadata\subpaneldefs.php
The administrator has disabled public write access.
Time to create page: 0.044 seconds
Powered by Kunena Forum