Show a disclaimer the first time a user visits a site.
Project description
Disclaimer
Life, the Universe, and Everything
Show a disclaimer the first time a user visits a site.
Mostly Harmless
Got an idea? Found a bug? Let us know by opening a support ticket.
Don’t Panic
Installation
To enable this package in a buildout-based installation:
Edit your buildout.cfg and add the following to it:
[buildout]
...
eggs =
collective.disclaimer
After updating the configuration you need to run ‘’bin/buildout’’, which will take care of updating your system.
Go to the ‘Site Setup’ page in a Plone site and click on the ‘Add-ons’ link.
Check the box next to ‘Disclaimer’ and click the ‘Activate’ button.
Usage
After installing the package, go to the ‘Disclaimer’ configlet on ‘Site Setup’ and enable the feature.
Now, the first time a user visits the site the disclaimer will be shown at the bottom of the page.
Users will see the disclaimer again whenever information in the configlet is updated.
How Does It Work?
This package registers a new viewlet on plone.portalfooter viewlet manager. The viewlet is normally hidden and it will only be shown after checking the user hasn’t seen it yet. The information on last time the viewlet was updated is stored in the user’s browser local storage.
Changelog
1.0a1 (2018-05-14)
Initial release.
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
Built Distribution
Hashes for collective.disclaimer-1.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1818027d6df9b813306d87c52ea275072e618369c770fa4dbad44b01854524c2 |
|
MD5 | 613dd5e58d43632096333a747537f553 |
|
BLAKE2b-256 | 4785be7849efc8b165ccf594da19fcc209052281f5421cf140258688ac139303 |
Hashes for collective.disclaimer-1.0a1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 619c747800e4da235a411c3cbb45d364ea1776ecf339a0c9ebf56cadf435b0e6 |
|
MD5 | 3917dc10b68bd4232d4eab45766af90a |
|
BLAKE2b-256 | 76e65f1bfa79fdcb101c44ba37ef2e79e3558a91b289fe664afe4d0d0a25bd08 |