Add-on for Volto to manage a list of social network links
Project description
Add-on for manage a list of social network links on Volto
Features
Control panel for plone registry to manage social links settings.
Restapi view that exposes these settings for Volto
Volto endpoint
Anonymous users can’t access registry resources by default with plone.restapi (there is a special permission).
To avoid enabling registry access to everyone, this package exposes a dedicated restapi route with the list of social links: @social-links:
> curl -i http://localhost:8080/Plone/@social-links -H 'Accept: application/json'
And the result is something like this:
[ { "title":"foo", "icon": "bar", "url": "http://foo.com" }, ... ]
Control panel
You can edit settings directly from Volto because the control has been registered on Plone and available with plone.restapi.
Volto integration
To use this product in Volto, your Volto project needs to include a new plugin: https://github.com/collective/volto-social-settings
Translations
This product has been translated into
Italian
Installation
Install collective.volto.socialsettings by adding it to your buildout:
[buildout] ... eggs = collective.volto.socialsettings
and then running bin/buildout
Contribute
License
The project is licensed under the GPLv2.
0.2.1 (2021-10-27)
fix python_requires. [nzambello]
0.2.0 (2021-10-10)
p.a.caching rules for rest api services. [cekk]
0.1.2 (2021-02-11)
Add layer to social-links route to not break if not installed. [cekk]
0.1.1 (2020-11-30)
Changed field type in registry. [cekk]
0.1.0 (2020-06-09)
Initial release. [cekk]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for collective.volto.socialsettings-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5075a4e434492eb56b0104abba8ece5ad8a527861df161376328f843a3babc43 |
|
MD5 | 50a71fb1f61d9060da67ca2115600172 |
|
BLAKE2b-256 | ba8dd023ee9b387c8b33c8fdb1756eae766eb64280004f2ba0fa7a2abd9bec54 |