iqnection-modules/socialmedia 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

iqnection-modules/socialmedia

最新稳定版本:2.3.1

Composer 安装命令:

composer require iqnection-modules/socialmedia

包简介

SilverStripe Social Media Module

README 文档

README

Provides ability to manage social media icons in your site settings, and add them to your template

Installaion

$ composer require iqnection-modules/socialmedia
$ ~/public_html/vendor/bin/sake dev/build "flush=1"

Setup

Navigate to the Settings area in the admin, click the Developer Tab, then Social Media Link tab Add links as needed

Add the following code in your template where you want the links to display

<% include SocialMediaLinks %>

It's up to you to add styling

Adding more link options

Add the following lines to your site's YML config file

IQnection\SocialMedia\Model\SocialMediaLink:
  social_media_options:
    - "My New Option 1"
    - "My New Option 2"

Icon Templates

You can add or replace icons by adding files to your theme's templates/Includes directory The file name must match the option name in the dropdown, with the following format

  • Replace all non-alphanumeric characters with a dash ex. "Google My Business" template name will be "GoogleMyBusiness"

Currently supports:

  • Facebook
  • Twitter
  • Instagram
  • Pinterest
  • YouTube
  • LinkedIn
  • Vimeo
  • Houzz
  • Flickr
  • Tumblr
  • Vimeo
  • Yelp
  • Angies List
  • Google My Business
  • Blog

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 6
  • Forks: 1
  • 开发语言: Scheme

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-04-30