• Resolved 01srainey

    (@01srainey)


    I’m having some issues with Popup Maker and links in the navigation menu.

    It definitely seems to be correct in terms of setup as when I inspect the code, it’s there but just not visible. The ‘.pum-overlay’ attribute has a display value of ‘none’.

    When I alter to the code to ‘inline’ or ‘block’ then the Popup is always visible so that’s not the solution. I’m guessing there’s a conflict somewhere but I just can’t seem to find it. I’m using the theme Semplice and here is a link to the site in question – Link

    Also, when I make the Popup ‘inline’ or ‘block’, the ‘Close’ button doesn’t work so that’s another issue which I’m experiencing as well. So that too needs fixed!

    Thanks, Sean.

Viewing 11 replies - 1 through 11 (of 11 total)
  • @01srainey

    I corresponded on Twitter, but I’ll offer more details here:

    I was able to Trigger the popup using my debugger tool and it worked as intended, so it’s an issue with the Trigger itself.

    I’m not sure what method you’re using to Trigger the popup from your Nav Menu, but we recommend using one of the methods as explained in this doc.

    Give one of those a shot, and see if that fixes the issue.

    You might consider going ahead and upgrading to 1.5 (link in above doc) even though it’s only been released as BETA. We haven’t encountered any issues for those who have upgraded already, plus with the new feature included, you can add a Trigger to a Nav Menu Item in a couple of clicks. Plus plus, this new feature is more compatible across different themes, so if it’s a theme issue, this should fix it.

    Hope that helps!

    • This reply was modified 9 years, 2 months ago by waltmesser.
    Thread Starter 01srainey

    (@01srainey)

    I got this error when I tried to install the 1.5 BETA version:

    Warning: require_once(/home/…../wp-content/plugins/popup-maker/includes/pum-sdk/freemius/start.php): failed to open stream: No such file or directory in /home/…../wp-content/plugins/popup-maker/includes/class-pum-freemius.php on line 49

    ???

    Thread Starter 01srainey

    (@01srainey)

    And this error as well:

    “Fatal error: require_once(): Failed opening required ‘/home/……../wp-content/plugins/popup-maker/includes/pum-sdk/freemius/start.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/……../wp-content/plugins/popup-maker/includes/class-pum-freemius.php on line 49″”

    Any idea? Thanks so much.

    Plugin Author Daniel Iser

    (@danieliser)

    @01srainey – Sorry about that, was experimenting with submodules, obviously a bad idea as they don’t get pulled in when you download it directly from github downloads.

    Removing that asap. v1.5 is going out now so you can update / install from wordpress.org shortly.

    Plugin Author Daniel Iser

    (@danieliser)

    @01srainey – Also in your case your theme or a plugin on your site is doing some fade transitions when links are clicked. The problem is they are doing it for all links, including hash links (#) on the same page which don’t actually go anywhere.

    So what is happening is that the menu item is clicked, the transition starts, but since the page never changes the transition isn’t removed. Basically that transition just overlays the page just like our popups do.

    Also seems that they are preventing the links from having other click events on them at the same time, such as ours. So theirs works then prevents ours from running.

    Not sure what we can do about that without first disabling their JS on invalid link types.

    Hope that helps.

    Thread Starter 01srainey

    (@01srainey)

    Hey danieliser

    Thanks for getting back to me.

    Well, I can disable the Site Transition Animations and try that. When is the 1.5 version of the plugin going to be widely available to download outside of the Beta stage?

    Thread Starter 01srainey

    (@01srainey)

    Hey Danieliser

    Here is a solution for the same problem but I can’t get it to work for me, maybe you’d understand it better.

    http://help.semplicelabs.com/customer/en/portal/questions/16915164-disable-site-transition-animations-only-for-links-to-anchor-targets?new=16915164

    Here is the code from the JS that is causing the transitions:

     /* fade out everything on url change */
    		if(!no_transitions) {
    			$('.logo a, .title h1 a, .title a, .thumb a, li.menu-item a, li.page_item a, h2 a, a.more-link, .meta a, .project-panel-link, .fullscreen-cover a, .fwt-link, .secondary a, .featured a, #fullscreen-menu a, a.ce-image-link, a.cover-slider-link, a.cover-link, .view-project a').click(function (a) {
    				/* no animation on ios devices */
    				if($(this).attr(‘target’) !== ‘_blank’ || $(this).hasClass(‘.popmake-contact’)) {
    
    					if(isMobile() !== true && !a.ctrlKey && a.which !== 2 && $(this).parent().hasClass('no-transition') !== true) {
    						var delay;
    						
    						if ($(this).data('project-panel') === true) {
    							$('#project-panel-header').slideUp(800, 'easeInOutExpo', function () {
    								$('header').css('position', 'fixed');
    								$('.overlay').css('position', 'absolute');
    								$('body').removeClass('project-panel-active');
    								$('.overlay').fadeOut('slow');
    							});
    							delay = 800;
    						} else {
    							delay = 0;
    						}
    						
    						var href = $(this).attr('href');
    						
    						var effect = 'slide-up';
    						
    						showNav(effect, 900);
    						
    						if($(menu).is(':visible')) {
    						
    							// fade out menu
    							$(menu).fadeOut(500, function() {
    							
    								// fade out overlay
    								$('.overlay').transition({ opacity: 0 }, 500, 'ease');
    								
    								$('#content').transition({ opacity: 0 }, 500, 'ease', function() {
    									window.location = href;
    								});
    							});
    							
    							
    						} else {
    							$('#content').transition({ opacity: 0, delay: delay }, 700, 'ease', function() {
    								window.location = href;
    							});
    						}
    					
    						return false;
    					}
    				}
    			});
    		}

    @danieliser take a look.

    Plugin Author Daniel Iser

    (@danieliser)

    @01srainey – You may need to open a new ticket with them, its been several years and the line or file name could have changed many times since then.

    With it being that old I am surprised they haven’t added an option for that simply to reduce that support question.

    Hope that helps.

    Thread Starter 01srainey

    (@01srainey)

    @danieliser

    A support worker has responded to my question and hopefully they’ll be able to shed some light. I’ve shared with them this page which should help to explain the situation alot more as well.

    I’ll keep you posted!

    @01srainey

    Closing this ticket due to inactivity. If you’re still having an issue or when you hear back from the other support, create a new thread, link this one in reference, and we will continue from there.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Issues with Navigation Link’ is closed to new replies.