AnsweredAssumed Answered

Add project name on the subpanel activities for a contact

Question asked by community-support on Jan 13, 2014
Latest reply on Jan 13, 2014 by community-support
Hello,

On the contact view, I can see the subpanel Activities with all Tasks for the contact.

for a task I can see 'task status, type, contact name, due date...'

I would like to add the project name field on the subpanel.

I copied the file modules/Tasks/metadata/subpanels/Foractivities.php to the folder custom/modules/Tasks/metadata/subpanels/Foractivities.php

I added the section :

[CODE]

   'project_name' => array (

    'name' => 'project_name',

    'vname' => 'LBL_LIST_PROJECT_TO_NAME',

    'widget_class' => 'SubPanelDetailViewLink',

     'target_record_key' => 'project_id',

    'target_module' => 'Project',

                         'module' => 'Project',

    'width' => '22%',  

   ),

[/CODE]

In the list fields.

Now I can see the label 'LBL_LIST_PROJECT_TO_NAME' but there is nothing in the field.

I think there is a problem with my code...

Can you help me ?

Thank you.

(from jejeman)

Outcomes