承接 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
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

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