innoweb / silverstripe-social-profiles
Adds social profile links to the site.
Installs: 1 914
Dependents: 0
Suggesters: 2
Security: 0
Stars: 1
Watchers: 5
Forks: 1
Open Issues: 0
Type:silverstripe-vendormodule
Requires
Suggests
- innoweb/silverstripe-social-metadata: Adds social metadata like OpenGraph, X (Twitter) and JSON-LD to all pages.
- innoweb/silverstripe-social-share: Adds sharing links and buttons for Facebook, X (Twitter), Instagram, Pinterest and Google+ as well as AddThis to the site.
README
Overview
Adds social profile links to the site.
Requirements
- SilverStripe CMS 5.x
Note: this version is compatible with SilverStripe 5. For SilverStripe 4, please see the 2.x release line. For SilverStripe 3, please see the 1.x release line.
Installation
Install the module using composer:
composer require innoweb/silverstripe-social-profiles dev-master
Then run dev/build.
Configuration
The module adds a new tab to the SiteConfig in the CMS where all the social profiles can be configured.
To add the profile links to your site, add the following include to your Page.ss
template:
<% include SocialProfileLinks %>
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 profiles globally, please add the following settings in your config.yml
:
Innoweb\SocialProfiles\Extensions\ConfigExtension:
multisites_enable_global_settings: true
This will add the fields to your SiteConfig instead of Site.
License
BSD 3-Clause License, see License