Not one tested browser on iOS (Safari, Firefox, Crome) seems to work with new GDPR settings; modal window is showing on first page load, button to reopen settings window not there.
Also pictures on iPad 12″ and iPadOS 13.2.2 for desktop view gets terrible rendering (way too large; mobile view is okay).
Also switches set on privacy page work on MacOS computers, though not on iPad or iPhone.
Browsers in MacOS (Safari, Firefox, Chrome again) show a little anchor “>” in left bottom corner (when button to reopen settings modal is activated); responsible code seems to be this:
Also there’s a little anchor “>” in left bottom corner (when button to reopen settings modal is activated); responsible code as follows:
<a class="avia-privacy-reload-tooltip-link" aria-hidden="true" href="#" rel="nofollow" data-avia-privacy-reload-tooltip="<div class=" av-cookie-auto-reload-container"="">"></a>
Thanks a lot for any ideas …
-
This topic was modified 6 years, 2 months ago by
jbuerger. Reason: code line wasn't showing …
Hi Guys,
I migrated a site from test vanbaars.gerkmulder.nl to live smederijvanbaars.nl but now my slider and galleries are gone. I noticed a JS error. I have done all the steps from alike threads but i can not get this fixed.
The error in cosole is:
Uncaught TypeError: t.AviaTooltip is not a constructor
at HTMLDocument.<anonymous> (avia-footer-scripts-5dacee0bba9be0dc3c6825ac478ddec5.js:1)
at i (jquery.js,qver=1.12.4-wp.pagespeed.jm.gp20iU5FlU.js:1)
at Object.add [as done] (jquery.js,qver=1.12.4-wp.pagespeed.jm.gp20iU5FlU.js:1)
at a.fn.init.n.fn.ready (jquery.js,qver=1.12.4-wp.pagespeed.jm.gp20iU5FlU.js:1)
at avia-footer-scripts-5dacee0bba9be0dc3c6825ac478ddec5.js:1
at avia-footer-scripts-5dacee0bba9be0dc3c6825ac478ddec5.js:1
i have updated the wp, the theme, the plugins, i have disabled plugins, purged cache. Nothing worked.
Can you please help me?
Hey Arthur,
Could you post links to where we can see the tooltips please?
Best regards,
Rikard
Hi,
1: normal gallery (miniature images & lightbox)
2: as you hopefully know there is a tooltip showing the images metadata (probably the title or the description) when you mouse over
How can i surpress / deacticate / disable that tooltip?
Arthur
Hi,
Thank you for the admin access, so the issue was that the title was being added twice by to different elements, here is the updated code that I added to solve:
function remove_tooltip_title(){
?>
<script>
jQuery(window).load(function(){
jQuery('.av-masonry-entry').removeAttr('title');
jQuery('.av-masonry-image-container').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'remove_tooltip_title');
Please clear your browser cache and check.
Best regards,
Mike
Hi,
Thanks for the login, but it doesn’t seem to be an admin account so I can’t adjust the script. Please replace the above script with this:
function remove_tooltip_title(){
?>
<script>
jQuery(window).load(function(){
jQuery('.av-masonry-image-container').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'remove_tooltip_title');
Then check again
Best regards,
Mike
Hey Moondreamer21,
Thanks for the links, I have adjusted your new page and added all of the necessary css in a code block on the page, it is not in your Quick CSS, it is in a code block so you can copy it in the future, here it is again:
.html_entry_id_17448 #main {
/*size of page*/
max-width: 80% !important; margin: 0px auto !important;
}
html.html_entry_id_17448 {
/*background of page*/
background: url("https://www.barrelracingtips.com/wp-content/uploads/2018/07/booksbodybg.jpg") #330000 !important;
}
#top.page-id-17448 #header {
/*remove page header*/
display: none !important;
}
#top.page-id-17448 .container_wrap.title_container {
/*remove title container*/
display: none !important;
}
.html_header_top.html_header_sticky #top.page-id-17448 #wrap_all #main {
/*remove padding*/
padding-top: 0px!important;
}
#top.page-id-17448 #after_full_slider_1.main_color {
/*remove background-image after slider*/
background-image: none !important;
}
@media only screen and (max-width: 430px) {
/*mobile adjustment*/
#top.page-id-17448 .avia-slide-wrap {
height: 190px !important;
}
#top.page-id-17448 .avia-slide-wrap img {
top: 31% !important;
}
}
@media only screen and (min-width: 431px) and (max-width: 1023px) {
/*more mobile adjustment*/
#top.page-id-17448 .avia-slide-wrap {
height: 360px !important;
}
#top.page-id-17448 .avia-slide-wrap img {
top: 60px !important;
}
}
Now please note the page id 17448 it is the page id of your new page, if you make another page you will need to change this number in all of the code above.
I also copied the form from your first book page that was in a code block to your new page, just for an example should you want to create a new form in the future, heres the code again:
<form id="optin" class="optin" action="https://www.aweber.com/scripts/addlead.pl" method="post" style="
width: 100%;position:absolute;
">
<div style="display: none;"><input name="meta_web_form_id" type="hidden" value="1944510671">
<input name="meta_split_id" type="hidden" value="">
<input name="listname" type="hidden" value="stbrsamazon">
<input id="redirect_2f105a715ab5b2b3e16de5031a3d8e13" name="redirect" type="hidden" value="https://www.barrelracingtips.com/free-speed-development-guide">
<input name="meta_redirect_onlist" type="hidden" value="https://www.barrelracingtips.com/already-received">
<input name="meta_adtracking" type="hidden" value="Secrets_to_Barrel_Racing_Success_Free_Gift_Header_Form">
<input name="meta_message" type="hidden" value="1">
<input name="meta_required" type="hidden" value="name,email">
<input name="meta_tooltip" type="hidden" value="name||Name,,email||Email,,custom Amazon Order Number||Amazon Order Number"></div>
<div style="
width: 100%;
">
<div id="name" class="af2-element" style="
width: 10%;
/* max-width: 140px; */
display: inline-block;
"><input class="text name" tabindex="600" name="name" required="" type="text" placeholder="Name" style="
background: white;
"></div>
<div id="email" class="af2-element" style="
width: 10%;
display: inline-block;
"><input class="text name" tabindex="601" name="email" required="" type="email" placeholder="Email" style="
background: white;
"></div>
<div id="number" class="af2-element" style="
width: 20%;
display: inline-block;
"><input class="text" tabindex="602" name="custom Amazon Order Number" required="" type="text" placeholder="Amazon Order Number" style="
background: white;
"></div>
<div id="submitbutton" class="af-element buttonContainer newbutton" style="
width: 10%;
display: inline-block;
"><input class="submit" tabindex="603" name="submit" type="submit" value="Send it!" style="
border: solid thin darkgray;
background-color: lightgrey;
padding: 10px;
/* border-radius: 2px; */
color: black;
margin: 5px;
height: 35px;
"></div>
</div>
<div style="display: none;"></div>
</form>
and that should be it, please clear your browser cache and check.
Best regards,
Mike
Hi,
Sorry for the late reply, Try adding this code to the end of your functions.php file in Appearance > Editor:
function remove_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery('.av-masonry-entry').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'remove_custom_tooltip');
Best regards,
Mike
Howdy,
Both image hotspots and tooltips will not display on a page I’m trying to put together.
From digging around the forum and not having had issues with this on other sites, I’m assuming that there’s a custom code or plugin conflict, but I couldn’t track it down.
Can you give a hand? Thanks!
Hey arallon,
Those are browser default when the element contains a title.
To remove it, add this code in functions.php (preferrably on a child theme):
function remove_custom_tooltip(){
?>
<script>
jQuery(window).load(function(){
jQuery('.av-masonry-image-container').removeAttr('title');
});
</script>
<?php
}
add_action('wp_footer', 'remove_custom_tooltip');
Hope it helps.
Best regards,
Nikko
Hi,
We tried to adjust the position of the hotspot but the result is still the same. It works properly when the tooltip position is set to “Right Below” — but not when it’s above or centered. We are not really sure why the initial calculation is off.
Best regards,
Ismael
I created a new WordPress installation (latest version) and the installed the newest Enfold and then imported the “SPA Demo”.
In the frontend, none of the (slideshow) images load and the only error in the console is ì.AviaTooltip is not a constructor.
We do also have a child theme but disabling it does not remove the error.
I disabled the CSS and JS compression as recommended in this topic but the only thing that changed is changing i.AviaTooltip to $.AviaTooltip in the error message.
The topic linked to above also suggests the following:
You may also need to purge the plugin cache and re-minify the scripts and stylesheets if you haven’t done so.
I’m non sure what that exactly means and where/how I can do these steps.
I have also searched through all files being loaded by the page and see no definition of AviaTooltip, only two uses in shortcodes.js so I’m guessing the problem is a file not being loaded. Interestingly, avia.js is not returning any content.
Hi,
Thank you for the update.
We edited the script in the functions.php file, but it didn’t work. What happens when you slightly adjust the position of the hotspot, or the position of the tooltip?
Best regards,
Ismael
Hi GrafitecSon,
Please have a look at the following thread:
https://kriesi.at/support/topic/aviatooltip-is-not-a-constructor/
Best regards,
Victoria
I have this same problem.
Enfold is generating an extra URL for each individual page.
It does so with the search icon code:
<a href="?s=" rel="nofollow" data-avia-search-tooltip="......
Yoast SEO adds a canonical tag to the duplicate URLs, which points to the original URL.
But yes, this is not very crawl-budget friendly…
Hi,
Thank you for the update.
Have you tried using the Image element as suggested above? You can set the caption to display over the image, and adjust the overlay appearance. It is also possible to display the caption on hover.
Unfortunately, we can’t set the caption in the partner/logo element to go over the images because they are added as tooltip, which is rendered outside the item container.
Best regards,
Ismael
That did the trick. Code from 2015 still works! Amazing.
if(!function_exists('avia_append_search_nav'))
{
//first append search item to main menu
add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 10, 2 );
add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 10, 2 );
function avia_append_search_nav ( $items, $args )
{
if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
if(avia_get_option('header_position', 'header_top') != "header_top") return $items;
global $avia_config;
ob_start();
get_search_form();
$form = htmlspecialchars(ob_get_clean()) ;
$items .= '<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown">
<a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a>
</li>';
return $items;
}
}
PS: This adds the search function in your main menu and the topmenu at the same time. Use this css to hide it in your topmenu (extra menu):
#header_meta .sub_menu #menu-item-search {
display: none;
}
I also want to add the search icon on the right next to the burgermenu. Do I use the workaround in that thread?
Hi markwilliams,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (min-width: 768px) {
#top .menu-item .inner_tooltip #searchform {
top: 0px;
}
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi,
Thank you for the info.
Yes, you’re correct. Temporarily, you can use this filter in the functions.php file to replace the double quotes in the reload string with single quotes.
add_filter('avf_auto_reload_message', function($reload) {
return str_replace('"', '\'', $reload);
}, 10, 1);
The reload string is supposed to be inside the “data-avia-privacy-reload-tooltip” attribute, but it breaks out because of the double quotation marks. We’ll report the issue to the team.
Best regards,
Ismael
Hi,
Can you tell me: is this a problem of Enfold or a problem made by the browser Firefox?
It is probably an issue with the theme — specifically the script that calculates the tooltip position. Unfortunately, we won’t be able to provide you with a proper solution if we don’t have access to the site. Have you tried to adjust the tooltip position?
Best regards,
Ismael
Hey Biggy,
Thank you for the update.
We don’t really see anything wrong with the code — it looks fine. Can you give us a screenshot of the issue?
$output .= '<div class="avia-privacy-reload-tooltip-link-container">';
$output .= '<a class="avia-privacy-reload-tooltip-link" aria-hidden="true" href="#" rel="nofollow" data-avia-privacy-reload-tooltip="' . $reload . '"></a>';
$output .= '</div>';
Best regards,
Ismael
Hello
i successfully hide the title tooltip while hovering over images via this tip: http://kriesi.at/documentation/enfold/remove-image-titles-that-show-up-when-you-hover-on-images/
unfortunately this will completely delete title, or image description text for the lightbox zoom if i select “Lightbox Image Description” e.g. for the horizontal gallery … the <div class="mfp-title"></div> field is empty …
any other suggestions for hiding the hover image tooltip text, but still showing an image description in the lightbox?
Kind regards
Velli
Hi,
we found one error when enabling the cookie consent bar and advanced options.
We display message bar and cookie logic. And we select Auto reload page with: Auto reload on both buttons, or Auto reload Accept or do not accept
After this settings we have “> left under the socket.
The problem is in the file enfold/includes/helper-privacy.php on line 1522.
$output .= '<a class="avia-privacy-reload-tooltip-link" aria-hidden="true" href="#" rel="nofollow" data-avia-privacy-reload-tooltip="' . $reload . '"></a>';
The last quotation marks and the closing point brace before the closing a tag are too much. We have this already in the $output from $reload.
Please fix this in the next update.
Regards
Biggy
Hi,
Thank you for the update.
The following script might help. Please add it in the functions.php file.
add_action('wp_footer', function() {
?>
<script>
(function($) {
$('.av-image-hotspot').trigger('mouseenter');
})(jQuery);
</script>
<?php
});
This will simulate a hover event on the hotspots on page load and it should trigger the script to calculate the position of the tooltip.
Best regards,
Ismael
Hey there,
Having an issue with Image with Hotspots/tooltips! I have added the hotspots, set the settings as I would like them to appear and no matter what I do, the hotpot tooltips do not display on mouse hover! Any guidance on this?
Hi,
Thanks and sorry for that.
The fix is in this file: https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_6_3/helper-privacy.php
Replace /includes/helper-privacy.php.
Alternate you can replace in code:
Around line 1522:
$output .= '<a class="avia-privacy-reload-tooltip-link" aria-hidden="true" href="#" rel="nofollow" data-avia-privacy-reload-tooltip="' . $reload . '"></a>';
replace with:
$output .= '<a class="avia-privacy-reload-tooltip-link" aria-hidden="true" href="#" rel="nofollow" data-avia-privacy-reload-tooltip="' . esc_attr( $reload ) . '"></a>';
Will be part of the next update.
Best regards,
Günter
Hey, i use a picture with hotspots. Almost everything works as expected, except for this:
In firefox (only!! in firefox) the position of the tooltip is wrong – at least when i hover the pulsating dot for the first time. If i hover it once again the position is right!
Any solution?
Thanks, Sven
Thanks for the reply, Victoria! A UX designer would be great, but because we are an NGO with limited budget I try to do most of the work myself as an volunteer.
I noticed that the navigation arrows to next and previous item is missing on my iPhone, but is present at computer for our glossary (see example). Do you know why?
Why don’t use the sortable accordion? In my opinion the benefit would be to reduce the number of times the user need to load a new page, since most users are on cellphone.
As alternativesI found a plugin called CM Tooltip Glossary (see example), which might be an option. I am also considering to change to the Divi theme and make the dictionary in Divi, who has a design option for his with dotted navigation in the side that can be changed to letters.
Hi everyone,
i have to say a big thank you for update 4.6.3 – as it really is a good approach towards the right direction in terms of privacy and GDPR. Lately a judgement by the EuGH (1.10.2019) made the interpretable parts of the GDPR way more clear. Your german teammates may check out this link where everything is summarized pretty understandable.
https://datenschutz-generator.de/eugh-cookie-einwilligung-banner-detailinformationen-pflicht/
I am data protection responsible in our company and i digged into that topic in deeply. Here are some suggestions.
Things to consider for the next update:
1. Accept all / Accept group
It’s still not clear if “Accept all” is a way to go or not. Whats assumed by the lawyers according to the above judgement is that accepting groups of cookies (as long as you can still address them individually) is a way to go. So think of the situation:
You have three custom cookies set, you assign them to a group “Marketing”, you have a shortcode e.g. [aviaPrivacyAcceptGroup name=”marketing”] where the user can accept these 3 with a single click. Additionally the user also can opt in/out of single ones (already given – which is great).
2. Essential cookies
Same as above but allow to add cookies to a predefined group “essential website cookies”. As currently discussed by the lawyers it looks like essential cookies may not need to be accepted individually. Your solution to be able to opt in/out of them is still good. But still there’s no catalog on what is essential or what isn’t. E.g. a shopping cart cookie would be essential for a shop. So being able to add a custom cookie to the “essential website cookies” group would be great in terms of usability and current interpretation of the law.
3. Deny all cookies (except essential ones)
You have a deny all function. Deny all except essential ones would complete it according to the judgement.
4. Markup bug found
There seems to be a bug with the avia-privacy-reload-tooltip-link link (a tag). Check the closing tags, its not closing properly (you see a “<” outputted on the frontend)
Checkout /wp-content/themes/enfold/includes/helper-privacy.php line 1507 -> if you remove the class it works cause of the embedded quotation marks. Embedd it differently or e.g. use custom tag
5. No-Click and No-Scroll
The Modal cannot be closed currently – which is a good idea. But it doesnt work 100% You still can scroll down and click outside to close it. Either implement a No-Scroll or adjust the layer used to catch the clicks.
6. Script deregister
Developers only. This would make a big impact but be a great addon (and i don’t know any other one having this feature). Often cookies are set by third party or plugins. Unfortunately some of them are set on different domains so cross browser security won’t let us access them.
Luckily most of them are set by Javacripts within these plugins that are loaded with wp_register_script. Would it be possible to deregister custom javascripts (if selectors are known) if a specific cookie isnt set? This would make your solution way more complete (even if i understand that third party scripts are none of your business – technically spoken).
If theres anything unclear, just let me know.
You may answer in german too.
Regards tbc
-
This topic was modified 6 years, 3 months ago by
tbc.