eab / share-buttons-bundle
Add a Pinterest button to EzSystemsShareButtonsBundle for eZ Publish/eZ Platform
Requires
This package is not auto-updated.
Last update: 2024-10-26 20:26:26 UTC
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