What about a plugin interface?
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: August 20, 2010 (RSS)
By Codee - August 19, 2010
IT,
With all the cool plugins that have come out and are yet to come out...what about having a plugin interface, one that's a bit more in-depth than enabling/disabling a plugin function? For example, let's say a programmer enables the membership function...instead of them having to change all the variables for their website on each of the membership plugin function pages, they just change them on an interface page and the pages get modified appropriately? Maybe this concept could spread a little further even, to a CMSB customizing interface where changes are made in an admin panel page instead of at the file level. Kind of like you did with the three-color choices for the backend around v2.0. Maybe have the ability to modifiy global messages that affect the code generator like changing "Those records are not found!" to "That information is not currently available. Please click BACK in your browser" or the "Email this Page" to "Email this page to a friend"., etc.
With all the cool plugins that have come out and are yet to come out...what about having a plugin interface, one that's a bit more in-depth than enabling/disabling a plugin function? For example, let's say a programmer enables the membership function...instead of them having to change all the variables for their website on each of the membership plugin function pages, they just change them on an interface page and the pages get modified appropriately? Maybe this concept could spread a little further even, to a CMSB customizing interface where changes are made in an admin panel page instead of at the file level. Kind of like you did with the three-color choices for the backend around v2.0. Maybe have the ability to modifiy global messages that affect the code generator like changing "Those records are not found!" to "That information is not currently available. Please click BACK in your browser" or the "Email this Page" to "Email this page to a friend"., etc.
Re: [equinox69] What about a plugin interface?
By Chris - August 20, 2010
Hi equinox69,
Rather than setting variables on all my pages, I always simply include a single PHP file on all my pages which sets all my variables and includes everything else I'll need. It makes individual pages a lot cleaner and means there's less to update or forget to update!
That's a good idea: having plugins provide their own configuration screens. I think we may start experimenting with this soon. :)
I'm thinking that plugin configuration would be accessed through the Plugin menu, via a custom link below "Deactivate". If you have the MySQL Console plugin, you can see how it creates a custom link called "Run" and then provides its own interface.
Thanks for the ideas! :)
Rather than setting variables on all my pages, I always simply include a single PHP file on all my pages which sets all my variables and includes everything else I'll need. It makes individual pages a lot cleaner and means there's less to update or forget to update!
That's a good idea: having plugins provide their own configuration screens. I think we may start experimenting with this soon. :)
I'm thinking that plugin configuration would be accessed through the Plugin menu, via a custom link below "Deactivate". If you have the MySQL Console plugin, you can see how it creates a custom link called "Run" and then provides its own interface.
Thanks for the ideas! :)
All the best,
Chris
Chris