• Resolved nelsonleemiller

    (@nelsonleemiller)


    Hi there,
    I was so excited to find this, except I found that when I try to link to this with the blurb module, it does nothing. Only seems to work with a button. Is this correct?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Philipp Stracker

    (@strackerphil-1)

    Hi @nelsonleemiller

    Thanks for testing the plugin and thanks for reporting the issue.

    In fact, the Popups work with *any* element, but just buttons. I tested it with a blurb by adding a “Title Link URL”, which works perfectly.
    However, the blurb “Module Link URL” is not a real link but some javascript logic that is handled by Divi. The current version of Popups for Divi does not recognize this JS handler yet.

    I’ve added it to the todo list and will review possible solutions for the next update.

    For now, you can either
    – use the “Title Link URL” to open the popup.
    – place a link or a button inside the blurb contents to open the popup
    – open the popup via some custom JS code (add a “Code” Module to your page), like this:

    <script>
    jQuery('.your-blurb-class').on('click', function() {
      DiviPopup.openPopup('your-popup-id') 
    });</script>

    I hope this helps for now.

    Philipp

    Plugin Contributor Philipp Stracker

    (@strackerphil-1)

    A brief follow-up here:

    The Blurb “Module Link URL” works correctly now as a Popup trigger (since 1.6.0).

    Also, since 1.6.0 we integrate an email course consisting of 6 emails. In the Day-3 and Day-5 email, you’ll get a ton of examples on how you can trigger a Popup. I.e., you’ll get some more workarounds/alternatives.

    In case you experience any other issues or have questions, please let me know here or in a new thread.

    Thanks, Philipp ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only works with a button?’ is closed to new replies.