Jump to content


Developer Documentation

Implementing share links in Content Items

Share links allow users to share content items to various social networks, as configured by the administrator.


How to implement share links

First, your content item model needs to implement the share links interface, like so:

implements \IPS\Content\Shareable

Finally, include the share links template inside your content item view:

{template="sharelinks" app="core" group="global" params="$item"}


Additional model methods available

array sharelinks()

Returns an array of share service URLs for the content item.

  Report Document

  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy