Comments (17)
Danke dir Doi,
der Dau saß vor dem Rechner shame.
Wenn man config.yml schreibt, das auch liest, es aber in der parameters.yml einbaut…
Sorry für so viel Wirbel.
Es funktioniert in der 4.9.5 und der 4.10. Heureka!
from contao-cookiebar.
Ich habe es jetzt auch mal auf dem Mac getestet:
Auch hier habe ich keine Probleme.
Ich vermute, dass irgendetwas beim hochladen oder bearbeiten der yml-Datei auf dem Mac doppelte Umbrücke o.ä. entstehen. Alles irgendwie unwahrscheinlich aber anders kann ich es mir gerade nicht erklären.
Anbei mal meine yml-Datei. Teste mal ob diese ohne weiteres bearbeiten ebenfalls dieses Problem verursacht:
config.zip
from contao-cookiebar.
Ggf. besteht ein Konflikt mit einem anderen Bundle…
{
"type": "project",
"require": {
"clickpress/contao-clickpress-grid": "^1.2",
"contao/calendar-bundle": "4.9.*",
"contao/comments-bundle": "4.9.*",
"contao/conflicts": "*@dev",
"contao/faq-bundle": "4.9.*",
"contao/listing-bundle": "4.9.*",
"contao/manager-bundle": "4.9.*",
"contao/news-bundle": "4.9.*",
"contao/newsletter-bundle": "4.9.*",
"dklemmt/contao_dk_masonry": "dev-master",
"erdmannfreunde/euf_grid": "^3.0",
"erdmannfreunde/euf_hero": "^1.0",
"erdmannfreunde/euf_overlay": "^1.2",
"erdmannfreunde/onepage-navigation": "^1.1",
"madeyourday/contao-rocksolid-slider": "^2.0",
"marebe1602/mae_event_categories": "^1.5",
"markocupic/gallery-creator-bundle": "^1.1",
"markocupic/preloader-overlay": "^1.0",
"oveleon/contao-cookiebar": "^1.4",
"stefansl/contao-lightgallery": "^1.1",
"terminal42/contao-easy_themes": "^2.2",
"terminal42/contao-fineuploader": "^3.0",
"webexmachina/contao-grid": "^0.4.2"
},
"extra": {
"contao-component-dir": "assets"
},
"conflict": {
"doctrine/dbal": "2.9.1|2.9.2"
},
"scripts": {
"post-install-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
],
"post-update-cmd": [
"Contao\\ManagerBundle\\Composer\\ScriptHandler::initializeApplication"
]
}
}
Ich werde mir mal eine frische 4.9.5 installieren und da nochmal testen.
from contao-cookiebar.
Hehe kein Problem, kann ja mal passieren ;-))
from contao-cookiebar.
Hallo Planepix,
sieht auf den ersten Blick erstmal alles richtig aus, tritt der Fehler nur in der 4.10
auf?
from contao-cookiebar.
Ich habe es nur in der 4.10 installiert und probiert
from contao-cookiebar.
Okay, ich prüfe es zuerst mal in meiner 4.9
. Ich denke das Template hast du in deinem Content-Element auch ausgewählt, richtig?
from contao-cookiebar.
Ja, genau das ce_html_openstreetmaps
from contao-cookiebar.
Alles klar 👍
Also in einer 4.9
scheint es wie gewohnt zu funktionieren.
1. config.yml um folgende Zeilen ergänzt:
contao_cookiebar:
iframe_types:
openstreetmap:
- ce_html_openstreetmap
2. Kopieren des ce_html_googlemaps
-Template und umbenannt in ce_html_openstreetmap
3. Content-Element ce_html
mit dem soeben erstellten Template angelegt und iframe-Code eingefügt
4. Cookie-Typ iFrame
mit iFrame-Typ openstreetmap
angelegt (Hier wird mir kein "null / 0" angezeigt)
Ich teste das gleiche jetzt mal in der 4.10
.
from contao-cookiebar.
Ich habe jetzt parallel in einer 4.9.5 das nachgebaut und bekomme wieder die Null :-o
Die Einrückungen sind wie immer 4 Leerzeichen, richtig?
from contao-cookiebar.
Ich habe jetzt parallel in einer 4.9.5 das nachgebaut und bekomme wieder die Null :-o
Die Einrückungen sind wie immer 4 Leerzeichen, richtig?
Merkwürdig, ja genau - bei mir wie folgt:
contao_cookiebar:
..iframe_types:
....openstreetmap:
......- ce_html_openstreetmap
from contao-cookiebar.
Kurios :-)
Ich habe wieder die Null drin, auch nach dem Speichern.
Im Debugmodus keine Fehler…
from contao-cookiebar.
Hast du am Ende der config.yml
eine leere Zeile?
from contao-cookiebar.
Hatte ich tatsächlich. Macht mir Atom wenn ich die Datei auf dem Server speichere. Habe diese Leerzeile nun gelöscht.
Im BE bekomme ich noch die Null zur Auswahl - im FE wird die OSM nun geblockt.
In der Datenbank taucht die Null-Option nicht auf - muss sie ggf auch nicht. Als Info.
from contao-cookiebar.
Okay, jetzt wird es noch merkwürdiger...
Ich habe auch immer eine leere Zeile in der Datei, daran sollte es eigentlich nicht liegen.
In der 4.10
verhält sich alles identisch wie soeben in der 4.9
getestet. Bin genau so vorgegangen wie oben beschrieben.
Habe mir in beiden Versionen auch direkt die Select angeschaut um auszuschließen, dass dies einfach vom Browser (Chrome) entfernt wird o.ä.
Wenn du den Typen "openstreetmap" auswählst springt er zurück auf die null?
from contao-cookiebar.
Ja ich habe eben auch im Quellcode nachgesehen: Dort habe ich als 4. Option „Null” stehen.
Ja springt nach dem Speichern mit Select openstreetmap wieder auf die Null zurück.
from contao-cookiebar.
Danke dir. Ja am Mac bin ich immer.
Habe ich eben entpackt und unter meine parameters gesetzt. prod-Cache geleert. Unverändert die Null zur Auswahl…
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.