Skip to content

plone-ve/volto-social-blocks

 
 

Repository files navigation

Social Blocks for Volto (@kitconcept/volto-social-blocks)

Addon implementing social network blocks for Plone projects with Volto.

npm Code analysis checks Unit tests

Features

  • Tweet block
  • Instagram block
  • Facebook block

Install

Create a new Volto project (you can skip this step if you already have one):

npm install -g yo @plone/generator-volto
yo @plone/volto my-volto-project --addon @kitconcept/volto-social-blocks
cd my-volto-project

Add @kitconcept/volto-social-blocks to your package.json:

"addons": [
    "@kitconcept/volto-social-blocks"
],

"dependencies": {
    "@kitconcept/volto-social-blocks": "*"
}

Download and install the new add-on by running:

yarn install

Start volto with:

yarn start

Test it

Go to http://localhost:3000/, login, create a new page. The social blocks will show up in the Volto blocks chooser.

Custom Privacy Consent Notice

You can register a custom React component to check for privacy consent and show the user a prompt to confirm accessing the external services. This is useful to meet European GDPR requirements, for example.

config.registerComponent({
  name: 'CheckPrivacyConsent',
  component: IfConfirm,  # use your own component here
});

The @kitconcept/volto-dsgvo-banner addon provides one possible implementation of the CheckPrivacyConsent component.

Credits

The development of this add-on was sponsored by kitconcept GmbH.

kitconcept GmbH

License

The project is licensed under the MIT license.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.8%
  • Makefile 9.2%
  • Dockerfile 1.3%
  • Other 1.7%