New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

collective.volto.dropdownmenu

Package Overview
Dependencies
Maintainers
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

collective.volto.dropdownmenu

Add-on for Volto to manage a dropdown menu.

  • 1.3.2
  • Source
  • PyPI
  • Socket score

Maintainers
8

=================== 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.

.. image:: https://avatars1.githubusercontent.com/u/1087171?s=100&v=4 :alt: RedTurtle Technology Site :target: http://www.redturtle.it/

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]

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc