承接 innoweb/silverstripe-social-share 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

innoweb/silverstripe-social-share

最新稳定版本:5.0.0

Composer 安装命令:

composer require 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 文档

README

Version License

Overview

Adds sharing links and buttons for Facebook, X (Twitter), Instagram, Pinterest as well as AddThis to the site.

Requirements

  • SilverStripe CMS 6

Installation

Install the module using composer:

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

Then run dev/build.

Configuration

The module adds a new tab to the SiteConfig in the CMS where the sharing options can be managed.

To add the sharing links to your site, add the following include to your Page.ss template:

<% include PageShareLinks %> 

This will activate sharing for the current page.

You can also activate sharing of the base URL of the site for all pages. For that, activate the following setting in your config.yml:

Innoweb\SocialShare\Extensions\ConfigExtension: enable_base_share: true 

You also have to add the following include to your Page.ss file:

<% include BaseShareLinks %> 

You can restrict the type of sharing links to a specific type by adding the following config to yuour SiteConfig or Site:

SilverStripe\SiteConfig\SiteConfig: restrict_sharing_type: [Links|Buttons|AddThis] 

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 social links globally, please add the following settings in your config.yml:

Innoweb\SocialShare\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

统计信息

  • 总下载量: 11.46k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 6
  • 依赖项目数: 1
  • 推荐数: 3

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固