Subject Information

Category Name XenForo 1.x Template Modifications
TOPIC TITLE \"Reply to Thread\" Button in Forum View, next to Navbar
Thread starter AnimeHaxor
Start date
Replies
Views
First message reaction score
LAST MESSAGE BY zoldos

AnimeHaxor

Retro-NulledTeam
Staff member
Administrator
Moderator
Registered
Local time
5:19 AM
Joined
Nov 22, 2015
Messages
6,397
Reaction score
42,549
Points
113
Website
www.nullscripts.net
Site Script
XenForo
AnimeHaxor submitted a new resource:

"Reply to Thread" Button in Forum View, next to Navbar - Shows a "Reply to Thread" button in the Thread View, next to the Sidebar.

View attachment 14370
To do this, simply add the following code somewhere (preferably at the top) in the 'thread_view' template
Code:
<xen:if is="{$canReply}">
	<xen:topctrl><a href="{xen:link 'threads/reply', $thread}" class="callToAction"><span>{xen:phrase reply_to_thread}</span></a></xen:topctrl>
</xen:if>

Read more about this resource...
 
  • Like
Reactions: zoldos

zoldos

Registered
Local time
10:19 PM
Joined
Aug 25, 2016
Messages
33
Reaction score
7
Points
8
Age
46
Worked great! I've never looked at that template before. Thanks, I found some other stuff to mod!