Forum Replies Created

Viewing 15 replies - 1 through 15 (of 38 total)
  • Forum: Plugins
    In reply to: [WPGraphQL] Query patterns
    Thread Starter ChrisHPZ

    (@chrishpz)

    Ok thanks a lot Joseph. Marking this as resolved 🙂

    Thread Starter ChrisHPZ

    (@chrishpz)

    5 star review given. Many thanks my friend

    Thread Starter ChrisHPZ

    (@chrishpz)

    I really wish there was a function I could trigger though. I could do something like the following:

    $(document).on( '#element', 'click', function(){
    runSomeFunction();
    });
    Thread Starter ChrisHPZ

    (@chrishpz)

    Yeah, the popup works fine when it’s in a content area. Go to https://www.membersourcecu.org/. Click on Member Education underneath the “Featured Services” heading.

    Thread Starter ChrisHPZ

    (@chrishpz)

    Hi JRT, this site has remained in the same state since it was launched. Below are my Ubermenu settings as taken from Ubermenu->Main UberMenu Configuration->Import/Export

    {"direct_inject":"off","nav_menu_id":"6","skin":"black-white-2","orientation":"horizontal","vertical_submenu_width":"","trigger":"hover_intent","transition":"shift","transition_duration":".1s","bar_align":"left","bar_width":"","bar_margin_top":"","bar_margin_bottom":"","items_align":"left","bar_inner_center":"off","bar_inner_width":"","descriptions_top_level":"on","descriptions_headers":"on","descriptions_normal":"on","target_divider":" \u2013 ","bound_submenus":"off","submenu_inner_width":"1300px","submenu_max_height":"","dropdown_within_mega":"off","image_size":"full","image_width":"249px","image_height":"223px","image_set_dimensions":"off","image_title_attribute":"off","disable_images_mobile":"off","lazy_load_images":"off","submenu_background_image_reponsive_hide":"off","responsive":"on","responsive_toggle":"on","responsive_toggle_tag":"a","responsive_toggle_content":"Menu","responsive_collapse":"on","responsive_max_height":"","display_retractor_top":"on","display_retractor_bottom":"on","retractor_label":"","force_styles":"off","style_menu_bar_background":"","style_menu_bar_transparent":"off","style_menu_bar_border":"","style_menu_bar_radius":"","style_top_level_font_size":"15","style_top_level_text_transform":"capitalize","style_top_level_font_weight":"","style_top_level_font_color":"","style_top_level_font_color_hover":"","style_top_level_font_color_current":"","style_top_level_font_color_highlight":"","style_top_level_background_hover":"","style_top_level_background_current":"","style_top_level_background_highlight":"","style_top_level_item_divider_color":"","style_top_level_item_glow_opacity":"","style_top_level_item_glow_opacity_hover":"","style_top_level_padding":"","style_top_level_horiz_padding":"","style_extra_submenu_indicator_padding":"on","style_align_submenu_indicator":"edge","style_top_level_item_height":"","style_submenu_background_color":"","style_submenu_border_color":"","style_submenu_dropshadow_opacity":"","style_submenu_fallback_font_color":"","style_submenu_minimum_column_width":"","style_submenu_highlight_font_color":"","style_submenu_item_padding":"","style_header_font_size":"15","style_header_font_color":"","style_header_font_color_hover":"","style_header_font_color_current":"","style_header_font_weight":"normal","style_header_border_color":"","display_header_border_color":"off","style_normal_font_color":"","style_normal_font_color_hover":"","style_normal_font_color_current":"","style_normal_font_size":"14","style_normal_background_hover":"","style_flyout_vertical_padding":"","style_description_font_size":"","style_description_font_color":"","style_description_text_transform":"","style_top_level_arrow_color":"","style_submenu_arrow_color":"","style_hr":"","style_toggle_background":"","style_toggle_color":"","style_toggle_background_hover":"","style_toggle_color_hover":"","style_search_color":"","style_search_placeholder_color":"","style_search_icon_color":"","row_spacing":"","icon_width":"","icon_display":"block","google_font":"","google_font_style":"","custom_font_property":"","container_tag":"nav","allow_shortcodes_in_labels":"off","display_submenu_indicators":"on","display_submenu_close_button":"off","theme_location_instance":"0"}

    Thread Starter ChrisHPZ

    (@chrishpz)

    I can’t recall any specific changes that would affect the functionality. But on another note, is there an alternative way I could trigger the 3rd party popup on the links in question? Maybe something like the following:

    <a href="some-external-link" onclick="someFunction()">External Link</a>

    Thread Starter ChrisHPZ

    (@chrishpz)

    Hi jrt341, just checking back to see if you’re able to come up with anything. I appreciate it 🙂

    Thread Starter ChrisHPZ

    (@chrishpz)

    Thanks jrt341. Just to confirm, the 3rd party popup issue is specific to external links in the main navigation. External links in page content sections are working as expected.

    Thread Starter ChrisHPZ

    (@chrishpz)

    Many thanks Tijmen, I will try that. I don’t suppose you have a link which demonstrates this huh? Make no mistake, it’s not that I don’t believe you. It’s more about our client is a kind of “I’ll believe it when I see it” type of person. #good_times

    Thread Starter ChrisHPZ

    (@chrishpz)

    Hi John, all apologies for the delay in response. So this error presented itself right after updating this plugin. It hasn’t presented itself since.

    Unfortunately, I’m getting additional errors about products not syncing because the plugin doesn’t think a given product is in Square. One such example is at https://shoprecoverystuff.com/product/recovery-fire-hoodie/

    I logged into the client’s Square account and indeed found the product in question. I tried disconnecting / reconnecting Square as well. It didn’t change anything.

    I’m not sure if you can glean some information from the screenshot below. But it may help to getting to the root of the problem
    2020-05-11_1452

    Thread Starter ChrisHPZ

    (@chrishpz)

    Hi @jaimeimagely yes the gallery in question is showing in the Manage Galleries page. The ID is 1. Below is the code I’m using:

    
    $shortcode = do_shortcode('[ngg src="galleries" ids="1" display="basic_compact_album"]');
    echo apply_filters('the_content', $shortcode);
    
    Thread Starter ChrisHPZ

    (@chrishpz)

    Thank you Gaby. I did as instructed with the gallery display and id. Now I get a new error message:

    “We cannot display this gallery”

    Thread Starter ChrisHPZ

    (@chrishpz)

    How could I possibly have a conflict when I use a default WordPress theme and only Photo Gallery plugin enabled? The global script function still loads its output directly after the <title></title> tags on the front end of the site.

    Thread Starter ChrisHPZ

    (@chrishpz)

    I did as instructed and deactivated plugins and switched to a default WordPress theme. The issue still persisted. I took a look at the plugin code. So the function responsible for adding the above code is coming from public function global_script() on line 963 in photo-gallery.php. Obviously, this function relies on jQuery. So it has to load after jQuery is loaded.

    Now if we check out line 161 in the same file, we see the following:

    add_action('admin_head', array($this, 'global_script'));

    What’s missing here is a reliance on jQuery. The same thing applies to the function on line 1862 in photo-gallery.php

    Thread Starter ChrisHPZ

    (@chrishpz)

    Yeah that’s what I was thinking too. I didn’t see anything being compromised and certainly didn’t experience any fatal errors with the plugin. Many thanks for the reply. Marking as resolved.

Viewing 15 replies - 1 through 15 (of 38 total)