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
Mikel Larreategi, mlarreategi@codesyntax.com
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]
Metadata
Release files for cs.behavior.footerhtmlcode 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cs_behavior_footerhtmlcode-1.1.tar.gz | 24.1 kB | Without provenance | Details for cs_behavior_footerhtmlcode-1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cs_behavior_footerhtmlcode-1.1-py3-none-any.whl | Python 3 | none | any | Details for cs_behavior_footerhtmlcode-1.1-py3-none-any.whl |
Total release size: 50.8 kB
Security for cs.behavior.footerhtmlcode 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.