EabShareButtonsBundle

UNIX name Owner Status
EabShareButtonsBundle 7x stable
Version Compatible with
N/A N/A
An eZ Publish 5 bundle extending EzSystemsShareButtonsBundle to add a provider for Pinterest.

EabShareButtonsBundle

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

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.