Hi, i want to create a new tab in members.
i create the tab #advertisements in member_view:
and create the function "advertisements"
i don't know where can i create members/threads.
i'm trying to do a tab that showing the threads created by that user in a specifically forum
can anyone help me?
i create the tab #advertisements in member_view:
Code:
<ul class="tabs mainTabs Tabs" data-panes="#ProfilePanes > li" data-history="on">
<li><a href="{$requestPaths.requestUri}#profilePosts">{xen:phrase profile_posts}</a></li>
<xen:if is="{$showRecentActivity}"><li><a href="{$requestPaths.requestUri}#recentActivity">{xen:phrase recent_activity}</a></li></xen:if>
<li><a href="{$requestPaths.requestUri}#postings">{xen:phrase postings}</a></li>
<li><a href="{$requestPaths.requestUri}#info">{xen:phrase information}</a></li>
<xen:if is="{$warningCount}"><li><a href="{$requestPaths.requestUri}#warnings">{xen:phrase warnings} ({xen:number $warningCount})</a></li></xen:if>
<xen:hook name="member_view_tabs_heading" params="{xen:array 'user={$user}'}" />
<li><a href="{$requestPaths.requestUri}#advertisements">{xen:phrase advertisements}</a></li>
</ul>
and create the function "advertisements"
Code:
<li id="advertisements" class="profileContent" data-loadUrl="{xen:link members/threads, $user}">
<span class="JsOnly">{xen:phrase loading}...</span>
<noscript><a href="{xen:link members/threads, $user}">{xen:phrase view}</a></noscript>
</li>
i don't know where can i create members/threads.
i'm trying to do a tab that showing the threads created by that user in a specifically forum
can anyone help me?