Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/collective/collective.volto.dropdownmenu
Add-on for Volto to manage a customizable dropdown menu
https://github.com/collective/collective.volto.dropdownmenu
Last synced: 2 months ago
JSON representation
Add-on for Volto to manage a customizable dropdown menu
- Host: GitHub
- URL: https://github.com/collective/collective.volto.dropdownmenu
- Owner: collective
- License: gpl-2.0
- Created: 2020-06-11T14:51:44.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-07-27T11:13:54.000Z (over 1 year ago)
- Last Synced: 2024-04-24T13:28:03.967Z (9 months ago)
- Language: Python
- Size: 72.3 KB
- Stars: 4
- Watchers: 11
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE.GPL
Awesome Lists containing this project
- awesome-volto - collective.volto.dropdownmenu - Add-on for manage a `Dropdown Menu` in Volto. (Addons / Plone backend add-ons for Volto)
README
===================
Volto Dropdown Menu
===================Add-on for manage a Dropdown menu in Volto.
Features
--------- Control panel for plone registry to manage menu configuration.
- Restapi view that exposes these settings for VoltoVolto 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: *@dropdown-menu*::
> curl -i http://localhost:8080/Plone/@dropdown-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-dropdownmenu
Menu cache
----------Restapi endpoint can took some time to reply if there are several items in the menu.
As first workaround, there is an environment variable to enable a ramcache for it (disabled by default)::
environment-vars =
DROPDOWNMENU_EXPERIMENTAL_CACHE 1**USE THIS WITH CARE, BECAUSE STORED DATA COULD BE BIGGER THAN CACHE**
Translations
------------This product has been translated into
- Italian
- Spanish
Installation
------------Install collective.volto.dropdownmenu by adding it to your buildout::
[buildout]
...
eggs =
collective.volto.dropdownmenuand then running ``bin/buildout``
Contribute
----------- Issue Tracker: https://github.com/collective/collective.volto.dropdownmenu/issues
- Source Code: https://github.com/collective/collective.volto.dropdownmenuLicense
-------The project is licensed under the GPLv2.
Authors
-------This product was developed by **RedTurtle Technology** team.
.. image:: https://avatars1.githubusercontent.com/u/1087171?s=100&v=4
:alt: RedTurtle Technology Site
:target: http://www.redturtle.it/