XenForo Tutorials

New Post Button in Post For Xenforo 2

Submitted by zbimz, , Thread ID: 67636

Thread Closed
01-01-2018, 06:27 PM
#1
ACP --> Template --> thread_view and find:

Code:
<xf:breadcrumb source="$forum.getBreadcrumbs()" />

Replace with the code below:



Code:
<xf:breadcrumb source="$forum.getBreadcrumbs()" />
<xf:pageaction if="$forum.canCreateThread()">
  <xf:button href="{{ link('forums/post-thread', $forum) }}" class="button--cta" icon="write">
    {{ phrase('post_thread') }}
  </xf:button>
</xf:pageaction>


[Image: c0iRiWx.png]

Users browsing this thread: 3 Guest(s)