Skip to main content

An add-on providing a behavior that allows entering arbitrary HTML code to be shown in a portlet in LRF objects

Project description

https://travis-ci.com/codesyntax/cs.behavior.footerhtmlcode.svg?branch=master https://coveralls.io/repos/github/codesyntax/cs.behavior.footerhtmlcode/badge.svg?branch=master

This addon adds a behavior to provide an extra field where you can write any HTML code.

This HTML code will be shown in the footer viewlet. The Footer viewlet will look for the nearest Language Root Folder (/en, /de, /es, …) and will render the value of the field present there.

This behavior is useful for multilingual sites where you may want to put some language-dependant javascript code editable by the end user.

We are using this to provide the cookie message in several languages. We are using Cookie Consent to achieve this.

Installation

Install cs.behavior.footerhtmlcode by adding it to your buildout:

[buildout]

...

eggs =
    cs.behavior.footerhtmlcode

and then running bin/buildout

Use

Install the product in the Plone Control Panel -> Addons. The install process will enable the behavior automatically for Language Root Folders.

Contribute

Support

If you are having issues, please let us know using the GitHub issue tracker

License

The project is licensed under the GPLv2.

Contributors

Changelog

1.1 (2026-04-23)

  • Remove python version restriction [erral]

1.0.1 (2019-11-21)

  • Fix flake8. [erral]

1.0 (2019-11-21)

  • Avoid infitine loops. [erral]

1.0a2 (2019-09-12)

  • Do not purge behaviors for LRF [erral]

1.0a1 (2019-09-06)

  • Initial release. [erral]

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

cs_behavior_footerhtmlcode-1.1.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cs_behavior_footerhtmlcode-1.1-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file cs_behavior_footerhtmlcode-1.1.tar.gz.

File metadata

  • Download URL: cs_behavior_footerhtmlcode-1.1.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for cs_behavior_footerhtmlcode-1.1.tar.gz
Algorithm Hash digest
SHA256 c739d04f92854ce569b267c22121bcdb5e0d8f503adbd06ab0acddf11bfb9b53
MD5 7e467cff1beb2f9fd426063f6a947556
BLAKE2b-256 38da6ce06a884ce01fba4d933f0fec7d47631cac9082ff9d95182cd864aaf645

See more details on using hashes here.

File details

Details for the file cs_behavior_footerhtmlcode-1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for cs_behavior_footerhtmlcode-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4e8a72ae314894015646a81fbda47fe4c77c2c1e62f500d2d296b2c413c9eaa7
MD5 243ed67e7c291b740e414a609f2652c8
BLAKE2b-256 bfbcf647d31eefd2f54665fb3861b315bf0a4d65719a6033eb543a7d8b744642

See more details on using hashes here.

Supported by

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