Skip to main content

Add-on for Volto to manage four-columns footer

Project description

Add-on that allows to edit footer columns in Volto.

Features

  • Control panel for plone registry to manage columns configuration.

  • Restapi view that exposes these settings for Volto.

This addon only add a registry entry where store some configuration data. You need to provide the edit interface in your Volto theme.

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: @footer-columns:

> curl -i http://localhost:8080/Plone/@footer-columns -H 'Accept: application/json'

The response is something similar to this:

[
    {
        'text': {'data': '<span>foo</span>'},
        'title': 'First column'
    },
    {
        'text': {'content-type': 'text/html', 'data': ''},
        'title': 'Second column'
    }
]

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: volto-editablefooter.

Translations

This product has been translated into

  • Italian

Installation

Install redturtle.voltoplugin.editablefooter by adding it to your buildout:

[buildout]

...

eggs =
    redturtle.voltoplugin.editablefooter

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.0.1 (2021-02-11)

  • Do not break endpoint if nothing set in registry. [cekk]

1.0.0 (2020-12-15)

  • 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

File details

Details for the file redturtle.voltoplugin.editablefooter-1.0.1.tar.gz.

File metadata

  • Download URL: redturtle.voltoplugin.editablefooter-1.0.1.tar.gz
  • Upload date:
  • Size: 24.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.6

File hashes

Hashes for redturtle.voltoplugin.editablefooter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 569e8062936b5ede299435b8d3af9bbb03c479953481708b8d3358dab1298f8a
MD5 3fa90131dbf7aeeb27f5aebb163d9f4d
BLAKE2b-256 639e3b78b91a1fdb75dabed165636297ecba5b0fe7cafda9aae7adde40f0f4b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page