ylefebvre / link-library

Link Library WordPress Plugin source code. Main plugin available from wordpress.org site
https://wordpress.org/plugins/link-library/
GNU General Public License v2.0
6 stars 2 forks source link

RSS - preview #10

Open PeterLeen opened 2 years ago

PeterLeen commented 2 years ago

The RSS preview is not opening as a popup. How to solve this?

ylefebvre commented 2 years ago

Hi Peter. Just to be sure, you activate the "Show RSS Feed Headers in PopUp Preview Link" option under the RSS Display tab of Library Configurations, right? I just tested this option and was able to see the preview icon next to the links and a pop-up properly appeared when I clicked on that icon.

image

Since this pop-up used Javascript and jQuery, what is most likely happening is that you have a jQuery / Javascript error on your site that is preventing the pop-up from appearing correctly. To investigate this, you would need to use the F12 key (on Windows) in your browser to open the developer tools window on your browser. Not sure what the key would be on Mac. There, click on the Console tab and see if you have any errors that appear. If you see errors, then the next step is to figure out which plugin is generating them. It could also be a conflict between two plugins that results in an error being generated.

You could also try deactivating plugins one by one and trying the function again until you find which one is causing the issue.

PeterLeen commented 2 years ago

I just found the problem.

I have 2 library configurations.

If I set the first library WITHOUT rss popup and the second WITH rss popup. The popup will not work. If I set the first library WITH rss popup, then the rss popup of the second library will work.

ylefebvre commented 2 years ago

Interesting. Were you using both library configurations on the same page, or on different pages? Took a quick look at the code and not sure why this is happening. I'll have a closer look later in the week.

PeterLeen commented 2 years ago

No, I use the libraries on different pages.

ylefebvre commented 2 years ago

I have trouble reproducing the issue with 2 library configuration, where the first is set not to have the rss popup and the second is, and the popup properly works on the page display that second library configuration [link-library settings="1"]. It does not appear on the page showing the first library configuration [link-library settings="2"]

So I'm a bit stumped as to why this was not working for you and setting both to have popups worked...