1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Reply Button at top of page

Discussion in 'Styling and Customization Questions' started by Mendo, Nov 29, 2012.

  1. Mendo

    Mendo Member

    Hi, I'm looking to place a reply button the top of a thread. I'd like to put it to the right of the breadcrumb like where the "Post New Thread" button is on the forum view. I've seen this thread:
    http://xenforo.com/community/threads/reply-button.36335/
    They outline how to make the reply button, but I don't know what template to put this in to get it to show up by the breadcrumbs only on the thread view.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    That is the calltoaction button. Refer to this template:

    Admin CP -> Appearance -> Templates -> thread_view

    That button appears to be there already, but it's commented:

    Code:
    <xen:if is="{$canReply}">
    	<xen:comment><xen:topctrl>
    		<a href="{xen:link 'threads/reply', $thread}" class="callToAction"><span>{xen:phrase reply_to_thread}</span></a>
    	</xen:topctrl></xen:comment>
    </xen:if>
    
    Just remove the two <xen:comment> tags.
     
    Mendo likes this.

Share This Page