定制 eab/share-buttons-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

eab/share-buttons-bundle

Composer 安装命令:

composer require eab/share-buttons-bundle

包简介

Add a Pinterest button to EzSystemsShareButtonsBundle for eZ Publish/eZ Platform

README 文档

README

##Summary

An eZ Publish 5 bundle extending EzSystemsShareButtonsBundle.

So far, it just adds one more button provider, for Pinterest. This bundle only provides the 'Any image' button type (see the Pinterest Widget builder).

##Copyright

Copyright (C) 2016 Andy Caiger, Enterprise AB Ltd

##License

Licensed under GNU General Public License 2.0

##Install

You can install this bundle and its dependencies using composer:

composer require --update-no-dev --prefer-dist eab/sharebuttonsbundle

Then edit registerBundles() in ezpublish/EzPublishKernel.php and add the following:

new EzSystems\ShareButtonsBundle\EzSystemsShareButtonsBundle(),
new Eab\ShareButtonsBundle\EabShareButtonsBundle(),

Finally, clear the cache and dump the assets:

php ezpublish/console cache:clear --env=prod
php ezpublish/console assetic:dump --env=prod

##Customising

Custom images are not supported but you can vary the colour, size, shape and language of the button. To do this, override the default settings by putting values in the default_settings.yml of your own bundle. For example:

# Colour of Pinterest share button
ez_share_buttons.default.pinterest.color: red

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2016-06-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固