XF 2.2 Add share button to thread actions button group?

Joe Link

Well-known member
I'm trying to figure out how to add a share button to the thread actions button group and make it work exactly as if someone hovered over the share button above the first post of the thread.

I've tried all sorts of stuff, just can't seem to get it right.

I've added this to thread_view, which adds the button but on hover it loads thread_view in the tooltip rather than the share options:

<xf:button class="button button--link" data-xf-init="share-tooltip">Share</xf:button>

Top Bottom