innoweb/silverstripe-social-profiles

Adds social profile links to the site.

Installs: 1 167

Dependents: 0

Suggesters: 2

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:silverstripe-vendormodule

2.0.2 2020-04-30 03:55 UTC

This package is auto-updated.

Last update: 2021-03-01 00:19:53 UTC


README

Version License

Overview

Adds social profile links to the site.

Requirements

  • SilverStripe CMS 4.x

Note: this version is compatible with SilverStripe 4. For SilverStripe 3, please see the 1.0 release line.

Installation

Install the module using composer:

composer require innoweb/silverstripe-social-profiles dev-master

or download or git clone the module into a ‘social-profiles’ directory in your webroot.

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 the multisites module 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