yii2-cookie-consent's People
yii2-cookie-consent's Issues
fix composer.json validation errors
Found cached composer.json of dmstr/yii2-cookie-consent (0.1.0)
Reading composer.json of dmstr/yii2-cookie-consent (feature/improvments)
Importing branch feature/improvments (dev-feature/improvments)
Skipped branch feature/improvments, Invalid package information:
Deprecation warning: require.npm-asset/dmstr--cookie-consent is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
Reading composer.json of dmstr/yii2-cookie-consent (master)
Importing branch master (dev-master)
Skipped branch master, Invalid package information:
Deprecation warning: require.npm-asset/dmstr--cookie-consent is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
CookieConsent is not defined
I've been getting some errors lately:
Uncaught SyntaxError: Unexpected token 'export'
Uncaught ReferenceError: CookieConsent is not defined
The error points to this part of the code:
<script>window.addEventListener('load', function () {
window.cookieConsent = new CookieConsent({
I tested it with the copy & paste example from the README and still got it.
I can't remember when the problem came up.
current cookie consent version: 1.4.4
PHP: 7.3.12
Cookie not set as secure and httpOnly
How to modify CSS?
I need to modify the integrated CSS.
How can this be done?
Is there a CSS using Bootstrap buttons?
I have posted a related question on Stackoverflow since I have no experience with overloading AssetBundles.
composer update error
I added this line to composer require:
section:
"dmstr/yii2-cookie-consent" : "~1.3.2"
When executing composer update
it fails with
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for dmstr/yii2-cookie-consent ~1.3.2 -> satisfiable by dmstr/yii2-cookie-consent[1.3.2].
- dmstr/yii2-cookie-consent 1.3.2 requires npm-asset/dmstr--cookie-consent ^0.2.0 -> no matching package found.
Did I miss something?
ERROR : category 'cookie-consent'
Hi,
sorry to post this, but I just don't know what I have to do here.
I get:
Unable to locate message source for category 'cookie-consent'.
as an error message.
Anyone an idea what I need to fix?
(I just installed and copy pasted component, use ..., and widget)
Thanks.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.