• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • This forum is for release discussion only. Discussions that do not relate specifically to the resource release should be discussed in another, more appropriate forum.
  • This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

"Reply to Thread' Button" (Forum View, next to Navbar)

Vincent

Well-known member
#1
Hello,

Here is another small Template Modification:)

Here's a screenshot:
replytothread.png

To do this, simply add the following code somewhere 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>
 
F

Floris

Guest
#4
If it is the forum view, it's a list of forums, or threads in the forum ... so which thread are you responding to them?
 

Jamie

Well-known member
#5
Very good point Floris! :)

I did use this code and placed it in the thread view template and it added a nice Reply to Thread to the top right of the breadcrumb trail. I think that is what the original member meant when he posted this bit of code.

Jamie
 

Vincent

Well-known member
#6
Doesn't work for me.
If it is the forum view, it's a list of forums, or threads in the forum ... so which thread are you responding to them?
Very good point Floris! :)

I did use this code and placed it in the thread view template and it added a nice Reply to Thread to the top right of the breadcrumb trail. I think that is what the original member meant when he posted this bit of code.

Jamie
My apologies, wrong template

It's fixed, sorry :(