• Resolved chrys24

    (@chrys24)


    Hello everyone,

    It seems to me that there is a serious error e.g. a BUG in Nelio Popups.

    Whenever i duplicate a popup, it creates a new popup with a new ID, yes wonderful.
    But whenever i try to “call” the popup from any internal link inside any of my pages it shows only the “copied” original!

    That said for example: i created a popup called No.1, enter content, save it. Then this i duplicate, give it new content inside it and call it No2, save.
    Now when i call popup No1 from any link inside a page or article – everything is good, the right content shows up. But if i call up popup No2 – it shows popup No1 and its content! Even though both popups have as well TWO different ID-numbers AND different content!
    Same thing happens if instead of duplicating i click on “New draft” from popup No1. It then as expected opens up a new draft, i place new content inside it, adjust everything, save.
    Call popup No.2 – it ALWAYS shows the wrong content – as popup No.1 comes up instead of No.2.

    I controlled everything twice to make sure i did not enter anything wrong anywhere. But the problem stays the same all the time whether what i try or do about it.

    So i come to conclusion that this must be a BUG inside Nelio-Popups.

    Any solutions here??

    Best regards, Chrys

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Antonio Villegas

    (@avillegasn)

    Hi @chrys24,

    Note that Nelio Popups does not include a feature to duplicate popups. Therefore, I guess the problem must be related to the tool/plugin you use in your WordPress to duplicate content.

    Could you please let us know the plugin/tool you use for duplication? With that, we could take a look at it and check what are they doing wrong when duplicating popups from Nelio Popups.

    Best, Antonio.

    Thread Starter chrys24

    (@chrys24)

    Hi Antonio, thanks for your reply. The tool i am using for duplicating is called “Yoast Duplicate Post” (Version 4.5 by Enrico Battocchi & Team Yoast). Maybe that helps to find out the pitfalls… Strange enough the Nelio-Popups duplicated show with a NEW Id-number(!), but still dont show up, even added in the right way to any other page. Only first (original) shows up. Maybe you can help. Thanks!

    • This reply was modified 2 years, 2 months ago by chrys24.
    Plugin Author Antonio Villegas

    (@avillegasn)

    Hi Chrys. Thanks for the info. I was able to replicate the issue locally on my own installation. The problem was due to the CSS selector we used to decide which popup opens.

    Imagine you have a popup whose URL is https://my.site/?nelio_popup=my-popup. When you duplicate it, the cloned popup may have the following URL: https://my.site/?nelio_popup=my-popup-2.

    Even if you wanted your link to open https://my.site/?nelio_popup=my-popup-2, we used a selector that only compared the first part of the URL, matching first with the original popup https://my.site/?nelio_popup=my-popup. We’ve changed this in Nelio Popups v1.0.26, forcing to match the whole URL.

    Please, update to the latest version we just released and everything should work as expected.

    Thread Starter chrys24

    (@chrys24)

    Hello Antonio, happy new year for you also!

    Thank you for your feedback, glad you could reproduce and determin the error and (hopefully) finally fix it.
    I am also glad that it was an error that was real in the plugin and no problem that was due to other side effects. As you know it is quite difficult to determin “which plugin causes what” if you have lots of plugins installed. Again thank you and i will immediately try the new update and let you know if the error is gone or persistent.

    Best regards, Chrys

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors when copying or saving as new draft’ is closed to new replies.