PluginLoader v. 2.0 beta

This pluginloader is a recoding/partial new development of PluginLoader v. 1.0, developed by djot. It may not work properly (although it should) with older plugins. But it will work with all new ones.

Download the original PluginLoader directly from the Wiki:

1)
Pluginloader v.2.0 beta9

2)
Pluginloader v.2.0 beta10


Modified PluginLoader

Starting with CMSimple v.3.01 a bug appeared while using the original PluginLoader. JusT for the sudden no Configuration menu and no Language menu appeared during Edit mode. Pressing the Save button even destroyed all configuration.
The reason:
There’s a variable conflict between the PluginLoader v2beta9/10 and/or cmsimple adm.php from v3.x ($plugin is always set to the value of the last plugin found in the plugins folder...)

CMSimple adm.php also uses this variable $plugin when writing settings/languages to the config.php and/or xx.php language file.

To resolve this issue, simply modify the pluginloader index.php file

add

unset($plugin);

just before the first occuring function(..) in the pluginloader of DJOT index.php file and save your changes...

(thanks JAT for this solution)

In case you use CMSimple version 3.01 or better use the following modified PluginLoader:

1)
Pluginloader v.2.0 beta9mod

2)
Pluginloader v.2.0 beta10mod


back to pluginloader

pluginloader/pluginloader_2.txt · Last modified: 2008/06/26 16:54 by till
chimeric.de = chi`s home Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0