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.
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.0a1 (2019-09-06)
Initial release. [erral]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for cs.behavior.footerhtmlcode-1.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea1f32fc2ee64b9b7c8af80c9c1fd52d7ab119f778193b2feebbadf6fb067a7b |
|
MD5 | e853b5aff65c42406d6e2cb39194663f |
|
BLAKE2b-256 | 2a35dc7db6fdf5fea614a2c4c85c23c6273f2c7f71f7c8d6e896b6c12097d41f |