6
We should be working away from the likes of Module Frameworks and start by actually building XOOPS structure in a way that would make adding these items easier and in the correct place. Just sticking everything in this folder will quickly make this unworkable
If you think about this:
Quote:
Plugins
--javascript
----jQuery
----Mootools
----myAjaxSystem
This way more control, we could even go as far as this:
1. System Admin can able or disable those plugins
2. Developer tools can be created to allow theme/module access methods without having to hack the core.
for Example:
a. xo_Loader::LoadPlugin( 'javascript', 'jQuery' );
b. $xoTheme->loadLibrary( 'javascript', 'jQuery' );
c. Even have a smarty way of including a plugin
d. Enable as a pre or post loader
Also, doing it this way might make it easier in the future for automatic updates from the web, without the need for user intervention.
Just my thoughts.
Catz
PS: I wish this forum would accept spaces as valid characters and stop striping them out of the text.