[RSS Feed/News] Copy to clipboard links in Threadlist items

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I'm trying to add a "Copy link" text on each item within the thread list and can't get it to work. I've tried various combinations in thread_list_macros of:

Code:

Code:
<a data-xf-init="copy-to-clipboard" data-clipboard="{{ link('forums', $thread.Forum) }}">Copy link</a>
<a data-xf-init="copy-to-clipboard" data-clipboard="{$thread.url}">Copy link</a>
<a data-xf-init="copy-to-clipboard" data-copy-text="{{ link('forums', $thread.Forum) }}">Copy link</a>
<a data-xf-init="copy-to-clipboard"...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom