Welcome Guest, Not a member yet? Register   Sign In
Need help with a plugin system
#7

[eluser]xwero[/eluser]
[quote author="Yorick Peterse" date="1242054965"]The idea was to load the plugins in the constructor or a certain function, before anything else was being executed.[/quote]

For that i think you better change the frontcontroller, codeigniter.php, instead of extending the controller because extending the controller can cause problems if the final controller has other code in the constructor.

But then the problem of placing the plugin content isn't solved as it would be added before all other content.

Break the plugin problem in to little pieces before you start coding. Now you already have code and you want to use that to make it work.

I think the most important question is what do you want your plugins to do.


Messages In This Thread
Need help with a plugin system - by El Forum - 05-10-2009, 02:25 PM
Need help with a plugin system - by El Forum - 05-10-2009, 06:25 PM
Need help with a plugin system - by El Forum - 05-11-2009, 02:40 AM
Need help with a plugin system - by El Forum - 05-11-2009, 03:24 AM
Need help with a plugin system - by El Forum - 05-11-2009, 04:02 AM
Need help with a plugin system - by El Forum - 05-11-2009, 04:16 AM
Need help with a plugin system - by El Forum - 05-11-2009, 04:34 AM
Need help with a plugin system - by El Forum - 05-11-2009, 06:56 AM
Need help with a plugin system - by El Forum - 05-11-2009, 07:23 AM
Need help with a plugin system - by El Forum - 05-11-2009, 07:28 AM
Need help with a plugin system - by El Forum - 05-11-2009, 07:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB