Addon implementing social network blocks for Plone projects with Volto.
- Tweet block
- Instagram block
- Facebook block
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
Go to http://localhost:3000/, login, create a new page. The social blocks will show up in the Volto blocks chooser.
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.
The development of this add-on was sponsored by kitconcept GmbH.
The project is licensed under the MIT license.