LPH
Well-known member
I set up a page with embedded forum threads showing for a particular node. This works great. Now I want to add a post_new_thread button.
This is in the page, but the button is not rendering. The code comes from the forum_view template.
Any suggestions on getting the post to thread button?
This is in the page, but the button is not rendering. The code comes from the forum_view template.
Code:
<xen:if is="{$canPostThread}">
<xen:set var="$newDiscussionButton"><a href="{xen:link 'forums/create-thread', $forum}" class="callToAction"><span>{xen:phrase post_new_thread}</span></a></xen:set>
<xen:if is="!{$renderedNodes}">
<xen:topctrl>{xen:raw $newDiscussionButton}</xen:topctrl>
</xen:if>
</xen:if>
<xen:require css="discussion_list.css" />
<div class="discussionList">
{xen:raw $forum}
</div>
Any suggestions on getting the post to thread button?