• Resolved AlanP57

    (@alanp57)


    Hi,

    Our Media Library Folders plugin is not working with the Modula Gallery when it displays the media uploader popup. It seem that it does not respond to the Javascript code that usually causes the popup to refresh:
    wp.media.frame.content.get().collection.props.set({ignore: (+ new Date())});
    We like to know what Javascript code could be used that to cause the popup to refresh its contents and thus make the two plugins compatible. If you would like more details, you can contact me directory at [ email deleted ].

    • This topic was modified 4 years, 5 months ago by Jan Dembowski.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Hi @alanp57 Please don’t post your email address. You can detail the problem your plugin has with this plugin here.

    Hi Alan,

    Thank you for reporting this!
    I went ahead and opened a ticket on GitHub regarding this.
    You can follow it here: https://github.com/MachoThemes/modula-lite/issues/398

    Our developers will do their best to find a solution and address it in our next update.
    Thank you again! Means a lot!

    Warmly,
    Mihaela

    Thread Starter AlanP57

    (@alanp57)

    Thank you.

    Anyone had a chance to look at this?

    I can’t finish a clients gallery without this.

    Can someone please update if it’s an easy fix or if the delay is because it’s a difficult fix?

    Thanks

    Hi @robin-ho,

    Our developers are investigating this and looking for a solution.
    Could you please allow us a day to see if there is an easy fix we can send you in the meantime?

    Thank you,
    Mihaela

    Thread Starter AlanP57

    (@alanp57)

    Certainly Mihaela.

    That’s grand Mihaela, thanks, just looking for an update so I can make plans either way ??

    Hi guys,

    We are still looking for a fix, at the moment we did not have much luck. We apologize for the trouble.
    As soon as we have something I will write here.

    Warmly,
    Mihaela

    @robin-ho @alanp57 I found a solution to your problem . We were not able to fix it from our end because we have no action we can hook into . In media-library-plus-pro/js/mlfp-media.js at line 126 please add the following :

    if( typeof wp.media.frames.modula !== 'undefined' ){ wp.media.frames.modula.content.get().collection.props.set({ignore: (+ new Date())}); } 
    if( typeof wp.media.frame.content.get() == null ) { wp.media.frame.content.get().collection.props.set({ignore: (+ new Date())}); }
    Thread Starter AlanP57

    (@alanp57)

    Ok, thank you. I’ve sent you a request by email to send the modified mlfp-media.js to me.

    @alanp57 sent it!

    Thread Starter AlanP57

    (@alanp57)

    Thank you, it works well. I’ll do some integration testing with a few other themes and plugins and it all goes well then I will be able to release a new version of our plugin next week.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Not working with Media Library Folders’ is closed to new replies.