Add-on for Volto to manage a secondary menu in dropdown one.
Project description
Add-on for Volto to manage a secondary menu (right column) for Dropdown Menu.
Features
Control panel for plone registry to manage secondary menu configuration.
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 infos to draw the menu: @secondary-menu:
> curl -i http://localhost:8080/Plone/@secondary-menu -H 'Accept: application/json'
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-secondarymenu
Translations
This product has been translated into
Italian
Installation
Install collective.volto.secondarymenu by adding it to your buildout:
[buildout] ... eggs = collective.volto.secondarymenu
and then running bin/buildout
Contribute
License
The project is licensed under the GPLv2.
1.1.0 (2021-10-10)
p.a.caching rules for rest api services. [cekk]
1.0.3 (2021-03-02)
Do not break endpoint if product is not installed. [cekk]
1.0.2 (2021-02-11)
Handle Unauthorized on private links. [cekk]
1.0.1 (2021-02-05)
Fix README. [cekk]
1.0.0 (2021-02-05)
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.secondarymenu-1.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | df221ad7cacac52402ea734ab76b6a470097d9e77aa4018eda292b3d3a27ede7 |
|
MD5 | 0bfbe7f1d755d411794a9071a76a589e |
|
BLAKE2b-256 | fe4f1f9350e6398fc0b36b78ec8dfe9f79ddfd5722ba3917680dbe47d5dbce14 |