I am currently following this tutorial
in order to modify the "messagerow" block var before it is assigned in this event: core.ucp_pm_view_folder_get_pm_from_template
. However, as a beginner I can't find enough documentation to help me do this.
What I am trying to do is include the author's avatar in the block var, so that when a user views their list of private messages, it would also show their avatar image alongside the message's title. I have succeeded in subscribing my custom method to the event, but now I have no idea how to send the avatar image information to my viewfolder page.
Can someone give me a tip on how I can do this?