Comments (8)
Höchst interessant was Mootools da macht, danke für den Hinweis. Nachdem ich das aktiviert habe, funktioniert es bei mir auch nicht mehr.
Sofern cookiebar.settings.cookies
befüllt ist, ist es ein Object und liefert bei cookiebar.settings.cookies.length
dann undefined
. Daher prüfe ich nun ob die ID auch in meinen abzufragenden Cookies existiert bevor ich diese verarbeite.
Ich habe soeben ein neuen Release gemacht (fb1551f / 1.2.6).
from contao-cookiebar.
contao_cookiebar: consider_dnt: false storage_key: ccb_contao_token page_templates: - fe_page iframe_types: youtube: - ce_youtube vimeo: - ce_vimeo googlemaps: - ce_html_googlemaps - mod_html_googlemaps
Auch hier scheinen mir lediglich die Standard-Werte übernommen worden zu sein und brauchen somit nicht in die config.yml
übertragen werden.
from contao-cookiebar.
Ein Update auf die neue Version hat das Problem bei mir behoben. Vielen Dank.
from contao-cookiebar.
Jawoll, bei mir ebenso. Dankeschön!
from contao-cookiebar.
Habe grade einen eigenen Issue gemacht, der -so scheint mir- das gleiche Problem hat. Insofern kann ich das wohl bestätigen.
from contao-cookiebar.
Hallo zusammen,
ich bekomme das in meiner 4.4 Version leider nicht reproduziert, kann es aber über die ziegelkontor.de feststellen.
Obwohl das JS-Object korrekterweise keine Cookies beinhaltet (Essenzielle Cookies werden nicht berücksichtigt) geht er in die for-Schleife und wirft den Fehler:
for(id in cookiebar.settings.cookies){
// in id steht nun fälschlicherweise '$family'
}
Könnte hier natürlich noch eine Prüfung einbauen, würde nur gerne den Fehler vorher noch verstehen.
Verwendet ihr beide jQuery auf der Seite?
- Standard-Einstellungen in der app/config/config.yml hinterlegt
Die Standard-Einstellungen müssen hier nicht übernommen werden, ausschließlich Einstellungen welche du bearbeiten / ergänzen möchtest müssten mit aufgenommen werden.
from contao-cookiebar.
Hallo! Also bei mir ist es https://www.maschinenbau-malchow.de/
Es wird jQuery genutzt, ja.
In meiner app/config/config.yml steht
contao_cookiebar: consider_dnt: false storage_key: ccb_contao_token page_templates: - fe_page iframe_types: youtube: - ce_youtube vimeo: - ce_vimeo googlemaps: - ce_html_googlemaps - mod_html_googlemaps
from contao-cookiebar.
Hi,
ich habe im Seitenlayout sowohl jQuery als auch Mootools aktiv. Wenn ich Mootools deaktiviere ist der Fehler weg. Ich habe außerdem testhalber in der Schleife mal folgende Code am Anfang eingefügt:
console.log(id);
continue;
Es ist nicht nur $family:
$family
$constructor
each
clone
clean
invoke
…
Scheinbar sind das von Mootools-Funktionen die an dem Array hängen und bei einem "for" mit behandelt werden. Bin aber jetzt kein JS-Crack.
Vielleicht auf cookiebar.settings.cookies.length
testen? Der wäre dann bei mir immer 0. Das gibt aber scheinbar Folgefehler "forEach-…"
from contao-cookiebar.
Related Issues (20)
- 5.x-dev Google Analytics not working HOT 3
- Starten unterbinden bei Bots wie Google HOT 4
- Feature request : Content-blocking-only-mode HOT 7
- Videos werden nicht mehr angezeigt… HOT 7
- No Menu Entry after Installation HOT 2
- Add new Google Consent Mode options
- Add a message when consent-log is activated/deactivated HOT 1
- Unknown option within language of the essential cookie group HOT 1
- Add an insert tag to open cookie bar HOT 3
- Cookiebar unter Contao 5.3 LTS Fehlermeldung HOT 3
- 2.0-RC1: Extended swiper.html.twig template is ignored if cookiebar is activated HOT 6
- Contao 5.3 CSP Support HOT 8
- Export large data from tl_cookie_log HOT 2
- Debug Mode not working: Attempt to read property "rootId" on null (2.0.0-RC2) HOT 12
- Soft hypen insert-tag stopped working in 2.0.0 HOT 1
- 5.3.1: error message when updating extensions with the contao manager HOT 2
- Problem with Contao 5.2 HOT 1
- Contao 5.3? Twig? Consent-Mode? Google Ads? HOT 4
- Einbindung Trustami Widget HOT 3
- Cookiebar Ausrichtung - fehlende CSS-Klasse oder CSS unvollständig? HOT 4
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.
from contao-cookiebar.