Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add Plugin Builder to JCB #436
Steps to reproduce the issue
I want to add the option to build plugins related or linked to components in JCB
That you in JCB can map a fully functional plugins
It will be able to target any event in any plugin group, and when compiling the component it will also compile the plugin and auto generate a combined package.
Should you have some ideas, please share them here!
With regards to the plugins i would like to suggest few ideas. I am pretty sure you already planned them but just to outline them here:
Sounds good... I have already build a few new views for the JCB component that will be used to build a plugin, and yes I do cover all of those things you mentioned and more.
Again like the admin and site views... the plugin is build so that it also has fields that load from other tables so the developer can add his own to expand the available options. So some of these are:
The functions in each plugin, the plugin groups, the plugin class to inherit from... and more. So I am trying to make it as open and liberal as possible to reach as much possible use case.
This whole idea is also going to expand into the actual improvement of the JCB compiler to give you the developer/user of JCB the option to change improve (for Joomla 4) and add your own MVC for components. So the plugin feature will serve as a pilot for the idea of having all the code in the GUI, not just the custom code.
But okay... I should have something ready to look at soon
Okay the first stage of the plugin option has been added, I am not sure if we should ship with the boilerplate, or just give good tutorial of how to load the plugin boilerplate data.
So for your viewing when you open the Joomla Plugins area in JCB there is a button called
The note will explain to you that the connection between components->pluings->compiler has not yet been made. So this is just to see the GUI... and asking is it going to work?
Okay at this point the plugins are being build (you can link many to one component), but still not yet added to the package or zipped. That is the next step I am working on. Please run some test and let me know.
This is a major issue that involves many places all over JCB to change... since it needs to be added to the import and export of JCB packages... really a big deal actually. I am just very relieved that we added it to JCB instead of building a new component since JCB makes is so much easier with all its conventions and mostly the power of the compiler... even I am amazed a how little I need to add to make this work.