cors/web-care

CORS - WebCare Integration

Installs: 19 406

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 2

Open Issues: 0

Type:pimcore-bundle

1.0.2 2022-05-06 09:07 UTC

This package is auto-updated.

Last update: 2024-10-20 06:55:36 UTC


README

WebCare - DataReporter Pimcore Integration (https://www.cookiebanner.at/)

Installation

composer require cors/web-care

bin/console pimcore:bundle:enable CORSWebCareBundle
bin/console pimcore:bundle:install CORSWebCareBundle

Configuration

  • Open Pimcore
  • Open Tools -> Webcare Settings

Tools

  • Configure Client ID, Configuration ID and Website ID per Site or for your "Home" Site.

Settings

Usage in Twig

This bundle provides several ways of integration. It comes with several twig functions:

  • cors_webcare_config Load the corresponding instance of CORS\Bundle\WebCareBundle\Entity\WebCareSite based on the current site you are on. Returns null when no config is set.
  • cors_webcare_cookie_banner_css Gives you the full path to Webcare's banner.css file
  • cors_webcare_cookie_banner_js Gives you the full path to Webcare's banner.js file
  • cors_webcare_cookie_banner Renders the banner.css and banner.js directly
  • cors_webcare_privacy_js Gives you the full path to Webcare's privacystatement.js file
  • cors_webcare_privacy Renders the privacystatement.js directly
  • cors_webcare_privacy_v2_js Gives you the full path to Webcare's privacystatement_v2.js file
  • cors_webcare_privacy_v2 Renders the privacystatement_v2.js directly
  • cors_webcare_imprint_js Gives you the full path to Webcare's imprint.js file
  • cors_webcare_imprint Renders the cors_webcare_imprint_js.js directly
  • cors_webcare_imprint_v2_js Gives you the full path to Webcare's imprint_v2.js file
  • cors_webcare_imprint_v2: Renders the cors_webcare_imprint_v2.js directly