• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Can't seem to hook into "member_view_tabs_content"

Jaxel

Well-known member
#1
I am hooking into the member view page tabs...
http://www.8wayrun.com/members/jaxel.1/

You can see a new tab here called "Media".

HOOK: member_view_tabs_heading
Code:
<li><a href="{xen:link members, {$user}}#media">{xen:phrase media}</a></li>
HOOK: member_view_tabs_content
Code:
<li id="media" class="profileContent" data-loadUrl="{xen:link media_user, $user}">
	{xen:phrase loading}...
	<noscript><a href="{xen:link media_user, $user}">{xen:phrase view}</a></noscript>
</li>
Looks good right? When clicking on the tab, it should bring up this page:
http://www.8wayrun.com/media/user/jaxel.1/?_xfNoRedirect=1

To me, this looks like it should work... instead I get an error:
Untitled-1.gif
 

Mike

XenForo developer
Staff member
#2
It's probably more of an issue with what content is in the response. It must be contained within a single root tag.