Download the PHP package innoweb/silverstripe-social-share without Composer
On this page you can find all versions of the php package innoweb/silverstripe-social-share. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download innoweb/silverstripe-social-share
More information about innoweb/silverstripe-social-share
Files in innoweb/silverstripe-social-share
Package silverstripe-social-share
Short Description Adds sharing links and buttons for Facebook, X (Twitter), Instagram, Pinterest and Google+ as well as AddThis to the site.
License BSD-3-Clause
Informations about the package silverstripe-social-share
SilverStripe Social Share
Overview
Adds sharing links and buttons for Facebook, X (Twitter), Instagram, Pinterest as well as AddThis to the site.
Requirements
- SilverStripe CMS 5.x
Note: this version is compatible with SilverStripe 5. For SilverStripe 4, please see the 3.x release line. For SilverStripe 3, please see the 2.x release line.
Installation
Install the module using composer:
Then run dev/build.
Configuration
The module adds a new tab to the SiteConfig in the CMS where the sharing options can be managed.
To add the sharing links to your site, add the following include to your Page.ss
template:
This will activate sharing for the current page.
You can also activate sharing of the base URL of the site for all pages. For that, activate the following setting in your config.yml
:
You also have to add the following include to your Page.ss
file:
MultiSites support
The module supports multisites and configured-multisites and by default adds the config options to the Sites.
If you want to manage the social links globally, please add the following settings in your config.yml
:
This will add the fields to your SiteConfig instead of Site.
License
BSD 3-Clause License, see License
All versions of silverstripe-social-share with dependencies
silverstripe/vendor-plugin Version ^2
unclecheese/display-logic Version ^3