hudhaifas-forks/silverstripe-sociallinks
Composer 安装命令:
composer require hudhaifas-forks/silverstripe-sociallinks
包简介
A quick and easy way to store,retrieve, and style social media links
README 文档
README
A quick and easy way to store, retrieve, and style social media links.
You could configure it to be multiple social links per:
- Website (SiteConfig)
- Member
- Organisation (shameless plug)
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:
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.
Member: extensions: - SocialLinkMemberExtension
统计信息
- 总下载量: 1.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2024-02-23