Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    I assume that the reason for this is that some Document Gallery JS files (that bring that integration into the Media Library) are not loaded in plugin pages.

    Unfortunately, I don’t see an easy solution to get this integration 🙁 Your best chance probably is to insert the Gallery into a dummy/test page and copy/paste the Shortcode that is generated into the table.

    Regards,
    Tobias

    Thread Starter fi48

    (@fi48)

    if

    many thanks for the answers.

    > I assume that the reason for this is that some Document Gallery JS files (that bring that integration into the Media Library) are not loaded in plugin pages.

    Do you think you we’ll fixe that in one of the next evolution of tablePresse ?

    >Your best chance probably is to insert the Gallery into a dummy/test page and copy/paste the Shortcode that is generated into the table.

    yes, it works like that, it’s ok for me, but not for my friend, he dont feelfree with code and copy/paste.

    best regards
    fi

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    unfortunately, this is hard to tell. TablePress uses the Media Library from WordPress and integrates it using the suggested ways. Of course, it’s possible that something is missing in the code. I don’t think that it will be possible to make a custom integration.

    Yeah, unfortunately, the copy/paste method is not really nice, but at the same time it’s also not that difficult. As it’s the only thing we have at the moment, I can only recommend that, even if it takes a few seconds to learn.

    Sorry for not having a better solution here.

    Regards,
    Tobias

    Thread Starter fi48

    (@fi48)

    ok anymay thanks for your work, your word and your time

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂

    Best wishes,
    Tobias

    As the developer of Document Gallery, I can confirm that we only load the Media Library JS when on a page where it will be used. Currently that only includes the post/page edit page.

    I’m happy to talk offline about ways to improve our plugins to play nicely. I can be reached here: http://danrossiter.org/contact.

    -Dan

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi Dan,

    thanks for your input on this! This is what I thought. I basically do the same with TablePress and e.g. its toolbar button for the post editor.
    I’m not sure that there’s something that we can (easily) do at the moment. This would probably require a proper plugin/filter/action hook system for JS.

    Regards,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘insert Document Gallery’ is closed to new replies.