711 lines
28 KiB
JSON
711 lines
28 KiB
JSON
{
|
|
"plugin_slug": "nsc_bar-cookie-consent",
|
|
"plugin_name": "Beautiful and responsive cookie consent",
|
|
"plugin_prefix": "nsc_bar_",
|
|
"settings_page_configs": {
|
|
"page_title": "Cookie Consent Banner - Settings",
|
|
"menu_title": "Cookie Consent Banner",
|
|
"capability": "edit_published_posts",
|
|
"description": ""
|
|
},
|
|
"setting_page_fields": {
|
|
"active_tab_slug": "",
|
|
"active_tab_index": 0,
|
|
"tabs": [
|
|
{
|
|
"tabname": "General",
|
|
"tab_description": "",
|
|
"tab_tipps": "",
|
|
"tab_slug": "general",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "activate_banner",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "<strong>Important:</strong> The Information if a user as seen the banner is stored in cookie which is not resetted, when deactivating this plugin. If you want to reset user settings you can rename the cookie name.",
|
|
"name": "Enable Cookie Banner",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "activate_test_banner",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"pre_selected_value": true,
|
|
"extra_validation_name": false,
|
|
"helpertext": "If checked you see the banner in the settings section and your consent cookie will be deleted with every admin page view. So you can see the banner more often in the frontend.",
|
|
"name": "Preview Banner",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "onStatusChange",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"pre_selected_value": false,
|
|
"extra_validation_name": false,
|
|
"helpertext": "If checked, the events 'beautiful_cookie_consent_initialized' and 'beautiful_cookie_consent_updated' will pushed in your dataLayer after consent or a change of consent. See documentation how to use them.",
|
|
"name": "Push consent event to dataLayer",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "dataLayerName",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "dataLayer",
|
|
"helpertext": "Caution: only change if you know what you are doing. If you have renamed your default GTM dataLayer you can put the new name here. To this dataLayer the event will pushed.",
|
|
"name": "DataLayer name",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "backend_cookie_conversion",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"pre_selected_value": false,
|
|
"extra_validation_name": false,
|
|
"helpertext": "In most browser cookies set by javascript are only valid for a short period of time. Without this setting your user will see the banner after that time again, which can be annoying. By checking this option, the cookie is converted to a backend cookie and the defined expiration is restored. Default expiration is 365 days.",
|
|
"name": "Prevent premature cookie deletion (use backend cookie)",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "improveBannerLoadingSpeed",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "If you check this the banner loads on 'DOMContentLoaded' instead of 'load'. Test properly! In some Installations this might break the banner.",
|
|
"name": "Improve Banner loading speed",
|
|
"save_in_db": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tabname": "Appearance",
|
|
"tab_description": "",
|
|
"tab_tipps": "",
|
|
"tab_slug": "banner_colors",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "theme",
|
|
"type": "select",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"selectable_values": [
|
|
{ "value": "block", "name": "Block" },
|
|
{
|
|
"value": "classic",
|
|
"name": "Classic"
|
|
},
|
|
{ "value": "edgeless", "name": "Edgeless" }
|
|
],
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "block",
|
|
"helpertext": "",
|
|
"name": "Theme",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "position",
|
|
"type": "select",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"selectable_values": [
|
|
{ "value": "top", "name": "Top" },
|
|
{
|
|
"value": "bottom",
|
|
"name": "Bottom"
|
|
},
|
|
{ "value": "bottom-left", "name": "Float bottom left" },
|
|
{ "value": "bottom-right", "name": "Float bottom right" },
|
|
{ "value": "top-left", "name": "Float top left" },
|
|
{ "value": "top-right", "name": "Float top right" }
|
|
],
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "bottom",
|
|
"helpertext": "",
|
|
"name": "Position",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "showCloseX",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "You can show an additional 'x' to close the banner. Depending on the compliance type the cookie value will be: allow, deny or savesettings",
|
|
"name": "Show x to close banner",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_close",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "",
|
|
"pre_selected_value": "x",
|
|
"helpertext": "Per default it is an 'x'. Here you can change this to anything you like.",
|
|
"name": "Text for close 'x'",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "container",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "",
|
|
"pre_selected_value": "",
|
|
"helpertext": "Default the banner is appended to document.body. If you want to append it somewhere else you can use query selector here. If you want to append it to the footer tag just type in 'footer' or to use an element with an certain id: [id='page'].",
|
|
"name": "Position in HTML of page (querySelector)",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "customizedFont",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_replace_doublequote_with_single",
|
|
"pre_selected_value": "",
|
|
"helpertext": "Add you desired Fonts name here, e.g. 'Catamaran-Regular', sans-serif. Please be aware that these fonts should be loaded already. You can only use already existing fonts here. It won't install them.",
|
|
"name": "Custom font name",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_popup_background",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "#237afc",
|
|
"helpertext": "",
|
|
"name": "Banner Background Color",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_popup_text",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "#fff",
|
|
"helpertext": "",
|
|
"name": "Banner Text Color",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_button_background",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "#fff",
|
|
"helpertext": "",
|
|
"name": "Button Background Color",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_button_text",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "#237afc",
|
|
"helpertext": "",
|
|
"name": "Button Text Color",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_button_border",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "",
|
|
"helpertext": "",
|
|
"name": "Button Border Color",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_switches_background",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "",
|
|
"helpertext": "Needed for compliance type 'Differentiated Consent'.",
|
|
"name": "Background of unselected switch",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_switches_backgroundChecked",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "",
|
|
"helpertext": "Needed for compliance type 'Differentiated Consent'.",
|
|
"name": "Background of selected switch",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_switches_switch",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "",
|
|
"helpertext": "Needed for compliance type 'Differentiated Consent'.",
|
|
"name": "Switch color",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "palette_switches_text",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_check_input_color_code",
|
|
"pre_selected_value": "",
|
|
"helpertext": "Needed for compliance type 'Differentiated Consent'.",
|
|
"name": "Switch text label color",
|
|
"save_in_db": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tabname": "Text",
|
|
"tab_description": "",
|
|
"tab_tipps": "",
|
|
"tab_slug": "banner_text",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "content_dismiss",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Got it",
|
|
"helpertext": "Used for 'Just Info' compliance type.",
|
|
"name": "Button 'Dismiss' Text",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_deny",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Deny",
|
|
"helpertext": "Used for 'Opt-In'and 'Opt-Out' compliance type.",
|
|
"name": "Button 'Deny Cookies' Text",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_allow",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Allow all",
|
|
"helpertext": "Used for 'Opt-In', 'Opt-Out' and 'Differentiated Consent - 2 Buttons' compliance type.",
|
|
"name": "Button 'Accept all Cookies' Text",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_savesettings",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Save Settings",
|
|
"helpertext": "Used for both 'Differentiated Consent' compliance types.",
|
|
"name": "Button 'Save Settings' Text",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_link",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Learn more",
|
|
"helpertext": "Text of link for more information, e.g. your privacy page or another page where you explain your cookies.",
|
|
"name": "'Learn More' Linktext",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_href",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "https://yourdomain/dataprivacy",
|
|
"helpertext": "URL to your data privacy policy, for example.",
|
|
"name": "'Learn More' Link",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_target",
|
|
"type": "text",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "_blank",
|
|
"helpertext": "_blank: opens in new window, _self: opens in same window",
|
|
"name": "Target of 'Learn more' Link",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_linksecond",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Just another Link",
|
|
"helpertext": "Text of link a second link you can place freely in your text, with this placeholder for open in same window: {{customLink}}, for open in new window/tab: {{customLink_openNewWindow}}",
|
|
"name": "'Freely placeable Link' Linktext",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_hrefsecond",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "https://yourdomain/anotherLink",
|
|
"helpertext": "This link be placed freely in your banner text, with this placeholder for open in same window: {{customLink}}, for open in new window/tab: {{customLink_openNewWindow}}",
|
|
"name": "Freely placeable Link",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_message",
|
|
"type": "textarea",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "This website uses cookies to ensure you get the best experience on our website.",
|
|
"helpertext": "",
|
|
"name": "Text for Banner",
|
|
"save_in_db": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tabname": "Compliance & Behaviour",
|
|
"tab_description": "",
|
|
"tab_tipps": "tab_compliance_and_behaviour.html",
|
|
"tab_slug": "compliance_type",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "type",
|
|
"type": "select",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"selectable_values": [
|
|
{ "value": "info", "name": "Just tell the user we use cookies." },
|
|
{
|
|
"value": "detailed",
|
|
"name": "Differentiated Consent - 1 Button"
|
|
},
|
|
{
|
|
"value": "detailedRev",
|
|
"name": "Differentiated Consent - 2 Buttons"
|
|
},
|
|
{
|
|
"value": "opt-in",
|
|
"name": "Ask user to Opt-in"
|
|
},
|
|
{
|
|
"value": "opt-out",
|
|
"name": "Ask user to Opt-out"
|
|
}
|
|
],
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "info",
|
|
"helpertext": "If you use 'Differentiated Consent', 'Opt-in' or 'Opt-out' you must make sure, that all plugins and features of your site respect that setting. More info see documentation. The user settings can be read from the cookie set by this plugin or the dataLayer.",
|
|
"name": "Compliance Type",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "cookietypes",
|
|
"type": "hidden",
|
|
"save_as": "array",
|
|
"required": true,
|
|
"extra_validation_name": "nsc_bar_check_cookietypes",
|
|
"pre_selected_value": "",
|
|
"helpertext": "Specify the different cookie types. Cookie Suffix: each cookie type gets an own cookie to save the acceptance status. The name is '<cookiename>'_'cookie suffix'.",
|
|
"name": "Cookie Types",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "makeButtonsEqual",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "Per default the button which sets the highest consent is highlighted, this can be considered as dark pattern. For some regulations it is neccesary, that both have an equal weight. When ticking this box, they have same size and color.",
|
|
"name": "Make the buttons look equal",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "setDiffDefaultCookiesFirstPV",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "Only for 'Differentiated Consent': It might be useful to have the configured default setting on first page view in a cookie, before any user interaction. Depending on your compliance requirements, it might be a legal issue.",
|
|
"name": "Set cookies with default values on 1st page view",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "dismissOnScroll",
|
|
"type": "text",
|
|
"save_as": "integer",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_integer",
|
|
"pre_selected_value": "",
|
|
"helpertext": "To disable, leave empty. To enable, set to the number of pixels a user must scroll vertically in order to trigger the dismiss.",
|
|
"name": "Allow on scroll",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "dismissOnTimeout",
|
|
"type": "text",
|
|
"save_as": "integer",
|
|
"required": false,
|
|
"extra_validation_name": "nsc_bar_integer",
|
|
"pre_selected_value": "",
|
|
"helpertext": "To disable, leave empty. To enable set value as time in milliseconds to autodismiss after set time.",
|
|
"name": "Allow on timeout (ms)",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "onPopupClose",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "Not working in admin preview! Only in frontend. Depending on your tracking set up, you might need a reload of the page after an opt in to track the page on which the user opted in. Useful when auto block is enabled, too.",
|
|
"name": "Reload after Bannerclick",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "ask_until_acceptance",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "If checked and the user declines the usage of cookies, the banner will be shown on the next page load again, until he accepts. In case of 'Differentiated consent' the user must accept all cookie types.",
|
|
"name": "Ask until acceptance",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "blockScreen",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "Activate this, to block the page content, until the banner is closed. You force the user to make a choice.",
|
|
"name": "Block Page, if Banner shown",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "disableWithiniFrames",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "0",
|
|
"helpertext": "Disable the banner, if the page is loaded in an iFrame.",
|
|
"name": "Disable in iFrames",
|
|
"save_in_db": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tabname": "Consent Management",
|
|
"tab_description": "",
|
|
"tab_tipps": "tab_revoke_description.html",
|
|
"tab_slug": "revoke_settings_tab",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "revokable",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": true,
|
|
"helpertext": "Show tab at the bottom to give users the possibilty to change cookie settings.",
|
|
"name": "Show 'Cookie Settings' tab",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "content_policy",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Cookie Settings",
|
|
"helpertext": "Text of the small tab at the botton, once user had made a cookie choice.",
|
|
"name": "Text for 'Cookie Settings' tab",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "shortcode_link_show_banner_text",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "Manage cookie settings",
|
|
"helpertext": "Text for link for showing the banner again. Nice to give user ability to manage their settings without displaying the 'Cookie Settings' tab. To display the link use this shortcode: [cc_show_cookie_banner_nsc_bar]",
|
|
"name": "Shortcode: Link text 'show banner'",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "shortcode_link_text_opted_in",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "You have opted in. Opt out now.",
|
|
"helpertext": "DEPRECATED: Will be only visible if compliance type: opt-in or opt-out. USE: [cc_show_cookie_banner_nsc_bar] instead.",
|
|
"name": "Shortcode: Link text 'opted in'",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "shortcode_link_text_opted_out",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "You have opted out. Opt in now.",
|
|
"helpertext": "DEPRECATED: Will be only visible if compliance type: opt-in or opt-out. USE: [cc_show_cookie_banner_nsc_bar] instead.",
|
|
"name": "Shortcode: Link text 'opted out'",
|
|
"save_in_db": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tabname": "Block Services",
|
|
"tab_description": "tab_block_services_no_license.html",
|
|
"tab_tipps": "",
|
|
"tab_slug": "block_services",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "activate_service_blocking",
|
|
"type": "checkbox",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": false,
|
|
"helpertext": "To enable this feature get the premium add-on from <a target='_blank' href='https://beautiful-cookie-banner.com/'>https://beautiful-cookie-banner.com/</a> and support the development of this plugin.",
|
|
"name": "Enable Service Blocking (beta)",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "blocked_services",
|
|
"type": "hidden",
|
|
"save_as": "array",
|
|
"required": true,
|
|
"extra_validation_name": "nsc_bar_check_valid_json_string",
|
|
"pre_selected_value": "[]",
|
|
"helpertext": "",
|
|
"name": "Blocked Services",
|
|
"save_in_db": true
|
|
},
|
|
{
|
|
"field_slug": "custom_services",
|
|
"type": "hidden",
|
|
"save_as": "array",
|
|
"required": true,
|
|
"extra_validation_name": "",
|
|
"pre_selected_value": "{}",
|
|
"helpertext": "",
|
|
"name": "",
|
|
"save_in_db": true
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tabname": "Cookie Settings",
|
|
"tab_description": "",
|
|
"tab_tipps": "",
|
|
"tab_slug": "cookie_settings",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "cookie_name",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "cookieconsent_status",
|
|
"helpertext": "<strong>Be careful:</strong> changing the name will cause the banner to show up for all users again. The settings get 'resetted'.",
|
|
"name": "Cookie Name",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "cookie_domain",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": "",
|
|
"helpertext": "You can leave it empty. If you do so, the current domain where the banner is clicked is used as cookie domain. <strong>Be careful:</strong> if changing the domain all users will see the banner again, because their cookie gets 'resetted'.",
|
|
"name": "Cookie Domain",
|
|
"save_in_db": false
|
|
},
|
|
{
|
|
"field_slug": "cookie_expiryDays",
|
|
"type": "longtext",
|
|
"save_as": "string",
|
|
"required": false,
|
|
"extra_validation_name": false,
|
|
"pre_selected_value": 365,
|
|
"helpertext": "in Days",
|
|
"name": "Cookie Expiry",
|
|
"save_in_db": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"tabname": "Im & Export",
|
|
"tab_description": "",
|
|
"tab_tipps": "tab_jsonconfig_description.html",
|
|
"tab_slug": "advanced_config",
|
|
"active": false,
|
|
"tabfields": [
|
|
{
|
|
"field_slug": "bannersettings_json",
|
|
"type": "textarea",
|
|
"save_as": "string",
|
|
"required": true,
|
|
"extra_validation_name": "nsc_bar_check_input_json_settings",
|
|
"pre_selected_value": "",
|
|
"helpertext": "For more a detailed documentation how to strutcture the json please visit: https://cookieconsent.osano.com/download/",
|
|
"name": "JSON Config",
|
|
"save_in_db": true
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|