Self Installing Plugins
|Posted November 28, 2015|
One of our core principles at BoltWire is keeping things simple. And that include plugin installation.
To be honest things are pretty simple right now, but I wanted to make the XPack "knock you off your feet simple", and I think I may have just figured out how to do it. The XPack is going to come with plugins that self install.
What will it look like?
The content of each install page will not only give detailed instructions for any required settings you need to change (enable the plugin here, set that permission there)--but since these are all just simple info vars, I just inserted a quick button to automate even that part. In fact, it even shows you your current settings and tells you if they are ok. Cool.
Even better, I use the page archive feature I was tinkering with awhile back to store all the included files in a data field on the info page, and then generate a simple search query to display all the available pages, and automatically extract and install any pages you want or need (uncheck the checkbox to skip a page). It works like a charm. And it even tells you if you already have those pages installed in your site!
The Dashboard already has a plugins module, so I just tweaked it to show you all your available plugins. You click one link to install (or verify installment). Click a different link to manage the admin configuration for the plugin. It will even tell you when it is time to update the plugin!
Other than a few trivial extensions, this is all possible with core code from BoltWire. Download one zip file and every plugin we include will be seconds away from self installation.
Never ceases to amaze me how flexible BoltWire really is.