How to make either names clickable in campaign status, or add 'hits' and 'viewed message activity date' to Targets list view

Hello!

I send campaign emails out, and would like to be able to sort through how many hits have been counted for each target, and when their activity date was, to then call them. I can do this in the campaign status ā€œviewed messageā€ subpanel, but the names arenā€™t clickable, so I canā€™t easily go and retrieve their number without searching their name and opening their details from the results.

So I have 2 questions:

1: Is there any way to make target names name clickable from the campaign status module, so I can go straight through and see their details?

2: What Iā€™d really like to be able to do, is add a total hits field to the targets list views. How would be best to go about this?

Iā€™ve already added every permutation of relationship between target and campaign/log/trackers in studio that I can think of.

First time posting here.
I have already searched high and low for multiple queries similar to this threadā€™s subject line, but no luck. Iā€™m sure Iā€™m missing something really simple. Apologies if this is as silly a question as it seems.

Many thanks in advance!

Mike

Making names clickable should be a simple code customizations, though not one that I can work on right now, Iā€™m simply too busy, sorryā€¦

About the other question, I donā€™t know that much about campaignsā€¦ what are you calling hits? Is that clicks on a tracker URL?

Iā€™d be really interested in knowing how to implement this option. It would be really neat !

Indeed, as of now, names are not clickable in campaign results.

We get a list of who opened our mail (and who clicked etcā€¦) but there is no way to click on the names in this list.

I know this is an older post but if you or anyone still needs to make the names clickable itā€™s actually fairly easy. FYI, Iā€™m using 7.10.29.

As always, itā€™s a good idea to backup your installation to avoid data loss if something goes wrong.

Open ā€œStudioā€ and click on ā€œCampaignsā€ then ā€œSubpanelsā€ and then open and ā€œSave and Deployā€ each of the following WITHOUT making any changes:

Message Sent/Attempted
Viewed Messages
Click-thru Link
Bounced Messages, Invalid Email
Bounced Messages, Other
Opted Out
Suppressed by Email Address or domain

Once you ā€œSave and Deployā€ each of these you will have created customizable versions in the ā€˜custom/modules/CampaignLog/metadata/subpanels/ā€™ directory. Now edit each of these files and find the section that looks like this: (I canā€™t remember if thereā€™s a code tag on this board so just remember that the leading white space is space characters and not a tab)

  'recipient_name' => 
  array (
    'vname' => 'LBL_LIST_RECIPIENT_NAME',
    'width' => '14%',
    'sortable' => false,
    'default' => true,
  ),

and change it to this:

  'recipient_name' => 
  array (
    'vname' => 'LBL_LIST_RECIPIENT_NAME',
    'width' => '14%',
    'sortable' => false,
    'default' => true,
    'widget_class' => 'SubPanelDetailViewLink',
    'target_record_key' => 'target_id',
    'target_module_key' => 'target_type',
    'parent_id' => 'target_id',
    'parent_module' => 'target_type',
  ),

Do a ā€œQuick Repair and Rebuildā€ and all names in the ā€˜Campaign Status pageā€™ should be clickable. This really helped us and I hope this helps someone searching for a solution and that itā€™s not too annoying that I responded to an older post.

5 Likes

@mcom thanks for this, it looks really useful.

About the code blocks (with syntax highlighting), itā€™s a triple back-tick. I edited your post, you can check my edit to see how itā€™s done.

:+1:

1 Like

Very helpful, thanks @mcom - it would be ideal for this functionality to be included in the regular download!

1 Like

Definately. Iā€™ve been looking for this solution for days. Iā€™m trying to get it to work in a custom module where i just want to be able to click the record in teh subpanel and it take me to the dtail view. You wouldnā€™t know how to do that would you?