Class ::cookieconsent::CookieConsent
::cookieconsent::CookieConsent
create ... \
[ -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 ]
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
Defined in packages/cookie-consent/tcl/cookie-consent-procs.tclClass Relations
- class: ::nx::Class
![[i]](/resources/acs-subsite/ZoomIn16.gif)
- superclass: ::nx::Object
![[i]](/resources/acs-subsite/ZoomIn16.gif)
::nx::Class create ::cookieconsent::CookieConsent \
-superclass ::nx::Object