Skip to main content

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

Contributors

Changelog

1.3.2 (2024-12-12)

  • Add Spanish translation. [macagua]

  • Update it translations [lucabel]

1.3.1 (2023-03-28)

  • Respect navigation-settings when getting children. [pbauer]

1.3.0 (2022-06-07)

  • Add optional ramcache for menu. [mamico]

1.2.0 (2021-10-10)

  • p.a.caching rules for rest api services. [cekk]

1.1.0 (2021-06-17)

  • Update blocks data to Volto 13. [cekk]

1.0.4 (2020-12-29)

  • Manage internal links in text blocks. [cekk]

1.0.3 (2020-11-25)

  • Handle Unauthorized when trying to access some menu elements. [cekk]

1.0.2 (2020-10-10)

  • Add custom permission to manage menu configuration. [cekk]

1.0.1 (2020-10-01)

  • Do not show items excluded from navigation. [cekk]

1.0.0 (2020-09-30)

  • Customized controlpanel’s serializer and deserializer to handle internal links with uids. [cekk]

0.1.0 (2020-06-11)

  • Initial release. [cekk]

Release files for collective.volto.dropdownmenu 1.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for collective.volto.dropdownmenu 1.3.2
File Size Uploaded
collective_volto_dropdownmenu-1.3.2.tar.gz 29.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for collective.volto.dropdownmenu 1.3.2
File Interpreter ABI Platform
collective.volto.dropdownmenu-1.3.2-py3-none-any.whl Python 3 none any Details

Total release size: 67.9 kB

Release files / collective_volto_dropdownmenu-1.3.2.tar.gz

Download URL collective_volto_dropdownmenu-1.3.2.tar.gz
Size 29.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4630697bea59a0c73ce92ee0cc1bb878b71e38e78adda10577526c5cfc0713d2
BLAKE2b-256 checksum
How to use checksums
a165b919a6d6c5d0db8afe07d09619c58ddaa365e17a19c747f597398c4d6f40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release files / collective.volto.dropdownmenu-1.3.2-py3-none-any.whl

Download URL collective.volto.dropdownmenu-1.3.2-py3-none-any.whl
Size 38.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2fdb1b4199ee0d023148a7b358d0777bc564e71301d132a190de79a8930d759e
BLAKE2b-256 checksum
How to use checksums
3f1014f39413837afab14826983c1a884305c08819201101f6f2695907468ecb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.9

Release history Release notifications | RSS feed

This release

1.3.2 This release

2 release files

1.3.1

1 release file

1.3.0

1 release file

1.2.0

1 release file

1.1.0

1 release file

1.0.4

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page