Jump to content

Ellyot_Chase

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by Ellyot_Chase

  1. Hi @joshua Thank you for what looks to be a great module and excellent support. I'm hoping to get some pointers from you as PrivacyWire isn't working as expected on my website somehow. I'm on PrivacyWire v1.1.2. and checked the 'active' checkbox in config screen. The module is loading fine, and I'm getting the banner allright - but no element is stopped from loading at all! On my test page , no matter what i try, i still get to read "This script only runs after giving consent to functional cookies" in my console! But I haven't given consent. All assets seem to be loading fine: <head> <style>.privacywire{background:#fff;bottom:-250%;box-shadow:0 -1px 3px rgba(0,0,0,.3);left:0;opacity:0;padding:1rem;position:fixed;right:0;transition:bottom .3s ease-in,opacity .3s ease;z-index:1}.show-banner .privacywire-banner,.show-message .privacywire-message,.show-options .privacywire-options{bottom:0;opacity:1}.privacywire-header{font-weight:700}.privacywire button[hidden],.privacywire-ask-consent-blueprint,[data-ask-consent-rendered="1"]{display:none}</style> <script>var PrivacyWireSettings={"version":2,"dnt":"1","bots":"1","customFunction":"","messageTimeout":2500,"consentByClass":"1","cookieGroups":{"necessary":"Necessary","functional":"Functional","statistics":"Statistics","marketing":"Marketing","external_media":"External Media"}};</script> <script type="module" src="/site/modules/privacywire/js/PrivacyWire.js"></script> <script nomodule="" type="text/javascript" src="/site/modules/privacywire/js/ie_polyfill.js"></script> <script nomodule="" type="text/javascript" src="/site/modules/privacywire/js/PrivacyWire_legacy.js"></script> On the page in the <body> i've put the example script <script data-type="text/javascript" data-category="functional" class="require-consent">console.log("This script only runs after giving consent to functional cookies");</script> and in the console the message shows. Then: when i give consent- it shows up again in the console! I'm lost on what to do and how to figure out what i could be doing wrong... Any help would be much appreciated!
  2. I'm in need of using this condition to show a field. But unfortunately parent.id is not working, and: parent_id fails also. Any suggestions? EDIT: I shoudn't be so shortsighted. This works like a charm. Thank you @Robin S!
×
×
  • Create New...