• Resolved Adrian

    (@adriandw)


    I’m trying to use the new EU Cookie Law and GDPR compliance widget.
    But I need to alter the banner text to be more specific about my site’s use of cookies (essential, optional etc).

    Under the widget settings, it doesn’t matter whether I check Banner text “Default” or “Custom”.
    The banner text field is populated with the same default text and it is greyed out so that I cannot change it.
    I have tried this on two sites with different themes, and on JetPack 6.1 and 6.2.

    Why might this be happening?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hi Adrian!

    Could you post your site URL here, so I can have a look?
     
    If you want it to remain private, you can also contact us via this contact form:
    Contact Support.

    Thanks!

    Thread Starter Adrian

    (@adriandw)

    I didn’t post the URL before because I didn’t think it would help.
    You can only see the problem when you have access to the customise widgets interface.

    As I said, I’ve tried this on two different sites and both have the problem.
    Here’s my test site: http://test.comptonshawford-pc.gov.uk/

    Thread Starter Adrian

    (@adriandw)

    My fault:
    I was trying to modify the placeholder text which says “Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. To find out more, including how to control cookies, see here:”

    It turns out you can’t treat it like a normal editable block of text, delete some words and add others etc.
    But you can type completely new text into the input textarea.
    I guess this is how textareas are designed to work.
    The normal usage of placeholder text is something like “enter your name here” when you would expect to replace the placeholder text completely.

    The html snippet in question is

    <textarea class="widefat" name="widget-eu_cookie_law_widget[3][customtext]" placeholder="Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. 
    To find out more, including how to control cookies, see here:"></textarea>

    To make the placeholder text editable, could you use this instead

    <textarea class="widefat" name="widget-eu_cookie_law_widget[3][customtext]" placeholder="Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. 
    To find out more, including how to control cookies, see here:">Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use. 
    To find out more, including how to control cookies, see here:</textarea>

    That would allow the user to fine tune your sample text and also to retrieve the placeholder text by clearing the input area.

    • This reply was modified 5 years, 10 months ago by Adrian. Reason: correct typos, add final para
    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hey Adrian,

    Thanks for the follow up 🙂

    It seems like you’re all set now, aren’t you?
    If that’s so, feel free to let us know if there’s anything else you need and we’ll be happy to help.

    On a related note, that’s also good feedback to pass to our developers. You’re welcome to report that on our GitHub repository here: https://github.com/Automattic/jetpack/issues/new

    If you have troubles doing that, I’ll be happy to create the issue for you – I just though that you’d like contributing to the plugin improvement 😉

    Thread Starter Adrian

    (@adriandw)

    Stef
    thanks for giving me the chance to post my feedback on GitHub.
    But I’m not familiar with that process, so I’d be very happy for you to create the issue.

    Plugin Support lizkarkoski

    (@lizkarkoski)

    Good morning –

    I’ve made a note of this feature request at https://github.com/Automattic/jetpack/issues/9727

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘EU Cookie Law and GDPR compliance – can’t alter Banner text with Jetpack 6.2’ is closed to new replies.