chronodekar
New member
Members on my forum would find it useful to write their replies on a separate page, instead of right below the threads. A bit of google-ing and I found this,
https://xenforo.com/community/threads/xf2-full-page-text-editor-for-replies.140653/
According to that thread, what I need to do, is append a "/reply" to the thread URL. Some searching inside the admin pages led me to the template titled "quick_reply_macros". That template displays the "Preview" and "Post reply" buttons. What I want to do is add a new "Reply on new page" button which would add the "/reply" to the current thread title.
Thing is, I'm stumped on how to do this.
I've figured out that I can use
to show my button. Clicking the button will open a new page, but not the full-page reply that I want. Experimentation (and one thread here somewhere) showed me that
Help please?
-chronodekar
https://xenforo.com/community/threads/xf2-full-page-text-editor-for-replies.140653/
According to that thread, what I need to do, is append a "/reply" to the thread URL. Some searching inside the admin pages led me to the template titled "quick_reply_macros". That template displays the "Preview" and "Post reply" buttons. What I want to do is add a new "Reply on new page" button which would add the "/reply" to the current thread title.
Thing is, I'm stumped on how to do this.
I've figured out that I can use
Code:
<xf:button href="{{ link('$requestPaths.requestUri', 'reply') }}" class="button--link" icon="preview">Reply on new page</xf:button>
to show my button. Clicking the button will open a new page, but not the full-page reply that I want. Experimentation (and one thread here somewhere) showed me that
$requestPaths.requestUri
will give me the current thread link. But I can't quite figure out what to write as the href/link. Help please?
-chronodekar