- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables
Class ::cookieconsent::CookieConsent
::cookieconsent::CookieConsent create ... \Create the Class for configuring the cookie consent widget. This class requires nx from the next-scripting framework. https://next-scripting.org/xowiki/ which is automatically installed for XOTcl2 via https://openacs.org/xowiki/naviserver-openacs
[ -compliance-type (default "inform") ] \
[ -default-palette (default "popup {text #fff background #004570} button {text #000 background #f1d600}") ] \
[ -dismiss-button-text (default "#cookie-consent.dismiss-button-text#") ] \
[ -expiryDays:integer (default "365") ] \
[ -layout (default "block") ] \
[ -learn-more-link (default "https://cookiesandyou.com/") ] \
[ -message-text (default "#cookie-consent.message#") ] \
[ -palette (default "default") ] \
[ -policy-link-text (default "#cookie-consent.policy-link-text#") ] \
[ -position (default "pushdown") ] \
[ -subsite_id:required subsite_id:required ]
Defined in packages/cookie-consent/tcl/cookie-consent-procs.tcl
Class Relations
Methods (to be applied on instances)
render_js (scripted, public)
<instance of cookieconsent::CookieConsent> render_jsPerform the actual rendering of the cookie consent widget.
- Testcases:
- No testcase defined.
- Methods: All Methods Documented Methods Hide Methods
- Source: Display Source Hide Source
- Variables: Show Variables Hide Variables