The new Easy FancyBox update broke my web page, so I reverted to the previous version. I’m hoping to get some help making the new version work.
My usage of Easy FancyBox is probably unusual, so I’m not surprised the new version broke it, especially since the software has been refactored in the new update. In my page I load a new NextGen tag gallery without reloading the entire page. To make this work, I first used PHP to call the NextGen php function that creates the tag gallery. Once that’s on the page, I used another PHP to call the function ‘easy_fancybox()’. I must admit I called the ‘easy_fancybox()’ function without completely understanding it, except I know that it worked.
The easy_fancybox() function no longer exists in the refactored Easy FancyBox software. I tried calling easyFancyBox::main_script() instead, but that got in an endless loop. I know it’s an endless loop by seeing two things: 1) on the web page the ‘waiting’ animation never ends, 2) I used Xdebug to set a breakpoint and step through the main_script() code, and it’s stuck in a loop.
Here is a link to my sight that uses the PHPs I described above: http://www.thelesters.net/tag-gallery-page/. Of course this has the old Easy FancyBox code that still works. Here is a link to a post that very briefly describes in more detail than above what I did: http://www.thelesters.net/2013/wordpress-tag-gallery-page-plugin-using-jstree-and-nextgen-gallery/
- The topic ‘Apply Easy FancyBox to reloaded NextGen Tag Gallery’ is closed to new replies.