Customize Detailview.php

Hi, I have to edit the detailview.php file. I would like when I click on a row in listview, instead of opening the classic Detail, a new listview is opened for that element. Example:
ListView:
id id_activity type
1 1 data entry
2 1 calls on the phone
3 2 data entry
4 1 sending e-mail

when I click on id_activity (for example 1) something like this will appear in Detailview:

type date name
data entry 2020-1-12 Mike
calls on the phone 2020-1-15 Luke
sending email 2020-2-13 Lucy

Any idea how to do it?
Thanks

This is not an easy task to accomplish because it requires good SuiteCRM development skills.

Basically you need to create a custom Controller for that module and inside its to implement two methods:

  1. action_customlistview
  2. action_customdetailview

After that you need to create the respective views and, eventually, to customize the Bean of such module in order to properly fetch data accordingly.

Regards

Hi andopes,
ok, I create the controller, but how do I implement action_customlistview and action_customdetailview? A small example with some code?
Sorry but Iā€™m really at the beginning with SuiteCRM