<xen:if is="{$profilePosts}">
<div class="section">
<div class="secondaryContent">
<h3><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></h3>
<ul>
<xen:foreach loop="$profilePosts" value="$profilePost">
<xen:include template="profile_post_list_item_simple" />
</xen:foreach>
</ul>
</div>
</div>
</xen:if>
Got it working on my forum
Just ad a new template with that code then create a widget as advance template
Only problem is that, it only works on forum_list
You should assign params $profilePosts to Template. So you can display anywhere you want. BTW, look like XenForo assign params to forum_list so when you put on that, work fine but other its not
Yes, that's what I'm usingFound it best to use Advanced Template (without wrapper)
This is the code:
Code:<xen:if is="{$profilePosts}"> <div class="section"> <div class="secondaryContent"> <h3><a href="{xen:link find-new/profile-posts}">{xen:phrase new_profile_posts}</a></h3> <ul> <xen:foreach loop="$profilePosts" value="$profilePost"> <xen:include template="profile_post_list_item_simple" /> </xen:foreach> </ul> </div> </div> </xen:if>
Got it working on my forum
Just ad a new template with that code then create a widget as advance template
Name it whatever you want.. Just be sure to call it properly in the WF renderer.What did you name the new template?
That will be included in the next betaThis is working thanks ... one question .. is it possible to also have the 'Update Your Status' input and post option?
That will be included in the next beta
We use essential cookies to make this site work, and optional cookies to enhance your experience.