Implemented  Add Facebook Recommend and Twitter buttons to Pages

Paul B

XenForo moderator
Staff member
I'm going to be making extensive use of Pages on my site with some content which is a big draw.

Unfortunately there's currently no way to share that content as the FB and Twitter buttons aren't present in the Page template.

It would be nice if this functionality was included, either by default or ideally as an option per page.

What would be great is functionality similar to the sidebar without the visitor panel, or even a simple <xen:shareButtons></xen:shareButtons> so the buttons can be added as part of the page content HTML :)
 
Upvote 4
This suggestion has been implemented. Votes are no longer accepted.
I was wondering whether anyone had tried adding either of the share page templates to a Page and if it works?

Unfortunately I don't have a working installation so can't test it.
 
That would be great Peggy :)

I'm just curious as to whether adding the share page template will allow Pages to be tweeted and recommended.
 
I guess this can be marked as resolved as simply adding the share page template(s) does the job :)

If you want the buttons at the bottom of the page, use:
<xen:include template="share_page"/>

If you want them in the sidebar, use:
<xen:sidebar>
<xen:include template="sidebar_share_page" />
</xen:sidebar>
 
Top Bottom