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.3.3 (2024-04-24)

  • Fix serializer/deserializer for footerTop blocks: use blocks handlers to fix data. [cekk]

1.3.2 (2024-03-14)

  • Revert changes to 1.2.1 branch. We haven’t deleted 1.3.0 and 1.3.1 branches because there are some releases on pypi. [cekk]

1.3.1 (2024-03-14)

  • Handle missing record in restapi endpoint. [cekk]

1.3.0 (2024-03-07)

  • Add footer_top field in settings, to manage a new footer row before columns. [cekk]

1.2.1 (2024-01-17)

  • Handle /api (remove it) urls when absolut-ize urls. [cekk]

1.2.0 (2024-01-17)

  • absolut-ize urls [mamico]

1.1.2 (2023-03-17)

  • Fix requirements [foxtrot-dfm1]

1.1.1 (2021-10-27)

  • Fix python_requires. [nzambello]

1.1.0 (2021-10-11)

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

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

Built Distribution

File details

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

File metadata

File hashes

Hashes for redturtle.voltoplugin.editablefooter-1.3.3.tar.gz
Algorithm Hash digest
SHA256 bae341f44da2c0579855e0892bb6b0ea33842715ceff48b4f636a32968c2cbae
MD5 66525e6b8bd25e36a8620ffd41a438ea
BLAKE2b-256 3d1e0de6b1ba63c8e8e9446c828db01052f62f4e6aaac2ddf3dc8f7552b43f28

See more details on using hashes here.

File details

Details for the file redturtle.voltoplugin.editablefooter-1.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for redturtle.voltoplugin.editablefooter-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e16a0141299316a74f6dc868634e57ea3b64a8bf4a0152712f8b3fe2452c156d
MD5 ec80bca800859a7be042b78421ef139b
BLAKE2b-256 11027f082d1f9b7e46d2550846afbd5924e63d96d9722b736f4f92525776f57d

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