I'm using the "add a tab" mod as a plugin from here. It adds an additional tab to the member profile area.
https://vborg.vbsupport.ru/showthread.php?t=265971
Using that I have a custom template called 'custom_profile_tab_dashboard'. I want to render the memberinfo_block_friends template inside this custom template.
I've tried multiple variations with no luck on the hook member_complete. I'm basically trying to move the sidebar blocks on the member profile page into this custom template. I've tried modifying the above mod to include:
Code:
$templater->register('blocklist', $blocklist);
$templater->register('memberinfo', $memberinfo);
$templater->register('prepared', $prepared);
$templater->register('userinfo', $userinfo);
$templater->register('member', $member);
I couldn't get that to do anything though... Any advise on direction would be phenominal.
--------------- Added [DATE]1321406167[/DATE] at [TIME]1321406167[/TIME] ---------------
I'm hoping to use the existing templates to render the content - just in a different place. I'm hoping I wouldn't have to build a query to get friends based on a userid - pass them into a variable - just to reuse that template..???