Code Monkey home page Code Monkey logo

Comments (7)

skerbis avatar skerbis commented on June 12, 2024

Schien zwischendurch zu funktionieren. Im aktuellen Stand scheint es nicht mehr zu gehen. Der Hinweis bleibt geöffnet.

from consent_manager.

IngoWinter avatar IngoWinter commented on June 12, 2024

Die Abfrage findet nach wie vor hier statt: https://github.com/FriendsOfREDAXO/iwcc/blob/master/lib/iwcc_frontend.php#L36
Was sich geändert hat, ist der Umbau auf REX_VAR. Die Ausgabe von REX_IWCC[] landet im Cache. Sprich wenn du als erstes eine Seite mit Box aufrufst, wird die Box immer gezeigt. Wenn du als erstes eine Seite ohne Box aufrufst, wird die Box auch auf anderen Seite nicht mehr gezeigt.
@skerbis weisst du aus dem Stegreif wie/ob man das Cachen verhindern kann?

from consent_manager.

skerbis avatar skerbis commented on June 12, 2024

@IngoWinter schau mal wie ich's beim Global Settings AddOn gemacht habe. Da wird der Methodenaufruf zurückgegeben nicht die Ausgabe.
https://github.com/FriendsOfREDAXO/global_settings/blob/2a7bf166d640db5117a98c4082e73505ebc3831c/lib/rex_var_global_var.php#L26

Die Lösung in Deinem Fall wäre wohl ... den Aufruf eines 2. Fragments zu übergeben? ..
@gharlan kann da sicher besser helfen

from consent_manager.

IngoWinter avatar IngoWinter commented on June 12, 2024

@skerbis magst du nochmal reinstallieren und checken? vielleicht haben sich damit ja auch #16 und #17 erledigt

from consent_manager.

skerbis avatar skerbis commented on June 12, 2024

#17 ist gelöst. Dieses hier und #16 nicht - Safari 13.0.3

from consent_manager.

IngoWinter avatar IngoWinter commented on June 12, 2024

Hm. Ich habe mir extra gerade das GH zip gezogen und reinstalliert - bei mir funktionierts. Auf Impressum/Datenschutz bekommt die Box die Klasse "iwcc-initially-hidden" https://github.com/FriendsOfREDAXO/iwcc/blob/master/fragments/iwcc_box.php#L16
In der frontend.js checke ich das und zeige die Box dann nicht an https://github.com/FriendsOfREDAXO/iwcc/blob/master/assets/iwcc_frontend.js#L38-L40

Was steht denn in der Debug Ausgabe drin, wenn du REX_IWCC[debug=1 forceCache=1] setzt?
Firefox_Screenshot_2019-11-12T13-46-51 491Z

from consent_manager.

skerbis avatar skerbis commented on June 12, 2024

Funktioniert ... vielleicht doch ein Cache-Problem gewesen

from consent_manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.