Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #961061

    Is there a possibility to get a link directly to the Modal window with privacy and cookie info?

    I would like to add a link on my Privacy Policy page to the modal window so the user can change the cookie settings even after the have checked the OK button.

    I would prefer to show the modal window instead of using the shortcodes on the Privacy Page.

    Is it possible?

    #961736

    I have the same issue. I would link to use a single button that will open the Privacy and Cookie information modal window from my policy page.

    • This reply was modified 6 years, 7 months ago by rogersparks.
    #961767

    Same issue!

    #962119

    Same request here!
    I’d like to be able to add a link in top bar or footer menu with “Changes Your preferences” even after they choose to desactivate some cookies, people need to be able to change it, use the modal window.

    Thanks guys, and thanks for all your last updates, it’s great!!!!

    #962384

    Hi,

    I have asked our team, we will report if we have anything about that :)

    Best regards,
    Basilis

    #962451

    Hi
    I’m also interested in that feature along with being able to customize the on/off button color.
    Thanks
    Lye

    #962873

    Interested as well!

    Thanks,
    John

    #963670

    Hi guys,

    Thank you for using Enfold and suggesting this.

    I added a shortcode to add a button that opens the popup. Should be part of the next update.

    Meanwhile you can replace

    C:\xampp\htdocs\wp_kriesi\wp-content\themes\enfold\includes\helper-privacy.php

    with

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_4/helper-privacy.php

    Do not forget to make a backup of the original file for fallback.

    Shortcode is (all parameters are optional, remove ‘ ‘ after [ ):

    
    [ av_privacy_popup button_text='your custom text' wrapper_class='' id='' class='']
    

    Best regards,
    Günter

    #966786

    I was disappointed today not finding this feature in the Enfold 4.4.1 update.
    Really hope it make the cut for the next update 4.4.2.

    • This reply was modified 6 years, 6 months ago by loftreklam.
    #967880

    Hi,

    Kriesi decided not to integrate this feature in core. I created a plugin you can use:

    https://github.com/KriesiMedia/enfold-library/tree/master/integration%20plugins/Enfold/Privacy%20Addon

    Best regards,
    Günter

    #968010

    Thanks for the plugin but having an issue with the modal coming up and saying content not found. Using Enfold 4.4.1.

    #968572

    Hi,


    @Rug3r

    Rechecked it, works fine for me. Can you give us an admin account and a link to the page where you used the shortcode so we can check – put them in private content field?

    As this is not your topic – open a new one so only you and the moderators can see the login credentials.

    Best regards,
    Günter

    #968761

    Hello Gunter,

    Will do.

    Thanks,
    Rug3r

    #973566

    Hi
    I have searched but not found an alternative to using a button link.
    Does anyone know how to change <a class="avia-button avia-cookie-consent-button avia-cookie-consent-button-2 av-extra-cookie-btn avia-cookie-info-btn " href="#"> Click here</a> to a simple text link.
    Cheers

    #973806

    Hi webthatch,

    Please try this instead of what you posted:

    <a href="#"> Click here</a>

    Best regards,
    Rikard

    #973837

    Hi Rikard
    Thanks for your reply, unfortunately this does nothing as it has no reference.
    Normally # is used as an anchor or link when it has an id to target, i.e. #do_this.
    The modal doesn’t appear to have an id so cannot be called.
    Cheers

    #973845

    Hi,

    You can’t us the link if you don’t add the modal popup to the cookie banner. Günters plugin just enables you to use the modal window link anywhere on the page (and not just in the cookie banner area) but does not add add the modal window code to the page. But there’s a workaround.

    First go to Enfold > Privacy and Cookies and check the checkbox under “Modal window with privacy and cookie info”. Then add a Button (click on the green plus in the section “Buttons”) and select the button action “Open info modal on privacy and cookies”.

    Then use this css code to hide the button in the cookie bar:

    
    #top .avia-cookie-consent .avia-cookie-info-btn{
    display:none;
    }
    

    i.e. place it into the quick css field.

    Now you can place the button anywhere on the page by using the link:

    
    <a class="avia-button avia-cookie-consent-button avia-cookie-consent-button-2 av-extra-cookie-btn avia-cookie-info-btn " href="#"> Click here</a>
    

    or shortcode

    
    [av_privacy_popup button_text='your custom text' wrapper_class='' id='' class='']
    

    Best regards,
    Dude

    #973848

    Hi Dude
    Many thanks for your help.
    I have the banner with the popup link in it and that works fine.
    In order to change settings after someone clicks ok and the banner closes, I need to recall the modal.
    I have recreated the button in various places on the site (and the modal works fine) however the client has asked that some of the buttons be changed to text links to match the other text links in place.
    Basically he doesn’t want buttons.
    I hope that makes sense.
    Cheers

    #973861

    Hi
    OK figured it out …
    Changing <a class="avia-button avia-cookie-consent-button avia-cookie-consent-button-2 av-extra-cookie-btn avia-cookie-info-btn " href="#"> Click here</a>
    to
    <a class=" avia-cookie-consent-button avia-cookie-consent-button-2 av-extra-cookie-btn avia-cookie-info-btn " href="#"> Click here</a>
    Creates a plain text link which opens the modal.
    Hope this may help someone else.

    Cheers

    #973927

    Hi,
    Thank you for sharing your solution.

    Best regards,
    Mike

    #975454

    What “click on the green plus in the section “Buttons”) and select the button action “Open info modal on privacy and cookies”.?? I see a green plus next to a red x and all that does is open a new tab level.

    UPDATE: All good. Figured it out.

    • This reply was modified 6 years, 6 months ago by Scott.
    #975554

    Hi,

    Glad we could help!

    Please take a moment to review our theme and show your support https://themeforest.net/downloads
    Don’t forget to bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Basilis

Viewing 22 posts - 1 through 22 (of 22 total)
  • The topic ‘Get a link to the modal window with privacy and cookie info’ is closed to new replies.