Skip to content

Add-on for Volto to manage a customizable dropdown menu

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst
Notifications You must be signed in to change notification settings

collective/collective.volto.dropdownmenu

Repository files navigation

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 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: @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.dropdownmenu

and then running bin/buildout

Contribute

License

The project is licensed under the GPLv2.

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

About

Add-on for Volto to manage a customizable dropdown menu

Resources

License

GPL-2.0, Unknown licenses found

Licenses found

GPL-2.0
LICENSE.GPL
Unknown
LICENSE.rst

Stars

Watchers

Forks

Packages

No packages published