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

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.


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



eggs =

and then running bin/buildout


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



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


The project is licensed under the GPLv2.



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.0.1.tar.gz (21.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page