Admun's NUDN

admun

  • San Francisco, CA

Navigation

Navigation

Categories

Search

Depending on plugin

I should have written this little post a while back. cool

In Nucleus 3.2, a new plugin mechanism is added to allow a plugin to detect whether all plugin(s) it requires are present. There are some plugins that depends on another plugin to function. NP_MostViewed and NP_View is one.

For the same reason, Nuclues now failed the plugin uninstall operation if it is required by another plugin.

For developer, they can simply put in a function in their plugin to tell Nuclues that what plugin(s) the say plugin require:

GetDepPen    function getPluginDep() {
  return array('NP_BlogWithOffset');
}

One note is this new plugin dependancy check mechanism does not break the compatibility for older version of Nucleus, the declared getPluginDep() in the plugin will becomes domrant if a plugin is installed in a older Nucleus.

19:15:27 on 04/10/05 by Admun - Developer Notes - tags: none - #
<=   April 2005   =>
SunMonTueWedThuFriSat
     12
3456789
10111213141516
17181920212223
24252627282930