Hi,
This is what you need to do.
Copy the Dashlet directory from the Tasks module to the custom Task Directory.
Edit MyTaskDashlet.Data.php to include the following in the "column" array
PHP Code:
'parent_name' => array('width' => '29',
'label' => 'LBL_LIST_RELATED_TO',
'sortable' => false,
'dynamic_modules' => 'parent_type',
'link' => true,
'id' =>' PARENT_ID',
'ACLTag' => 'PARENT',
'related_fields' => array('parent_id', 'parent_type')),
Then edit the MyTaskDashlet.php and you need to point to the custom directory so edit teh
PHP Code:
require(moudle/....
and change it to PHP Code:
require(custom/module/.....
Then admin->Repair->Repair Dashlets
This should be what you need and it will be upgrade safe
Rgds
Chris
Bookmarks