-
AuthorPosts
-
May 23, 2018 at 6:34 pm #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?
May 24, 2018 at 5:41 pm #961736I 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.
May 24, 2018 at 6:29 pm #961767Same issue!
May 25, 2018 at 1:56 pm #962119Same 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!!!!
May 25, 2018 at 9:04 pm #962384Hi,
I have asked our team, we will report if we have anything about that :)
Best regards,
BasilisMay 25, 2018 at 10:27 pm #962451Hi
I’m also interested in that feature along with being able to customize the on/off button color.
Thanks
LyeMay 27, 2018 at 7:55 pm #962873Interested as well!
Thanks,
JohnMay 29, 2018 at 1:52 pm #963670Hi 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ünterJune 4, 2018 at 8:47 pm #966786I 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.
June 6, 2018 at 3:04 pm #967880Hi,
Kriesi decided not to integrate this feature in core. I created a plugin you can use:
Best regards,
GünterJune 6, 2018 at 7:17 pm #968010Thanks for the plugin but having an issue with the modal coming up and saying content not found. Using Enfold 4.4.1.
June 7, 2018 at 11:25 am #968572Hi,
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ünterJune 7, 2018 at 1:46 pm #968761Hello Gunter,
Will do.
Thanks,
Rug3rJune 16, 2018 at 10:05 am #973566Hi
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.
CheersJune 17, 2018 at 5:37 am #973806Hi webthatch,
Please try this instead of what you posted:
<a href="#"> Click here</a>
Best regards,
RikardJune 17, 2018 at 9:06 am #973837Hi 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.
CheersJune 17, 2018 at 9:50 am #973845Hi,
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,
DudeJune 17, 2018 at 10:06 am #973848Hi 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.
CheersJune 17, 2018 at 11:11 am #973861Hi
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
June 17, 2018 at 4:43 pm #973927June 20, 2018 at 8:18 pm #975454What “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.
June 20, 2018 at 11:03 pm #975554Hi,
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 -
AuthorPosts
- The topic ‘Get a link to the modal window with privacy and cookie info’ is closed to new replies.