Open artemartemov opened 6 years ago
Hello @artemartemov,
This plugin is still in its beta state. We tried to encapsulate the hacks required to add actions by putting the logic inside this plugin.
Have you looked at the 2 plugins that actually use this one? They provide a good working example of the usage.
https://github.com/Flamenco/grav-admin-media-replace https://github.com/Flamenco/grav-admin-media-move
Make sure you add the runtime dependency checks, as Grav does not do that internally (yet); your plugin could crash the client if the dependency is disabled before the dependents. See https://github.com/Flamenco/grav-admin-media-actions/issues/1.
I will leave this issue open for a bit; After you take a look at those 2 examples, please post any specific questions you have here.
Hey there, this plugin looks fantastic. I was just wondering if you possibly have in your roadmap some basic examples of media actions? Only asking due to being somewhat of a novice and the docs are bit confusing thus far.
Not sure if it would be simple but possible a metadata media action?