burnbright/silverstripe-sociallinks

A quick and easy way to store,retrieve, and style social media links

Installs: 780

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 4

Forks: 4

Open Issues: 1

Type:silverstripe-vendormodule

2.0.1 2019-11-07 08:27 UTC

This package is auto-updated.

Last update: 2024-04-07 17:57:16 UTC


README

A quick and easy way to store, retrieve, and style social media links.

You could configure it to be multiple social links per:

Supported social networks

Being able to configure the list of social networks means you can align the list with the icons you have available, perhaps via your icon font.

You can configure the list of available social networks by adding a yaml config, as such:

Burnbright\SocialLinks\SocialLink:
  networks:
    facebook: Facebook
    linkedin: LinkedIn
    skype: Skype
    twitter: Twitter
    website: Website

If you don't specify a configuration of networks, then a default list will kick in.

Member extension

Add the SocialLinkMemberExtension extension to Member to allow each member to have multiple extensions.

SilverStripe\Security\Member:
    extensions:
        - SocialLinkMemberExtension