Skip to content

Provides model, and icons for easily adding social network links to a SilverStripe 3 website

Notifications You must be signed in to change notification settings

burnbright/silverstripe-sociallinks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Social Links

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

About

Provides model, and icons for easily adding social network links to a SilverStripe 3 website

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •