Plugin Installer

Lotuscms edited this page Jul 2, 2011 · 1 revision

This is a list of what is available for the installer of plugins

It is required to created a file named "PLUGIN_NAMEModuleInstall.php". The below is an absolute minimum implementation.

`<?php /**

  • Menu Module Information */ class ModuleInstall extends Install{

    /**

    • Setup system */ public function ModuleInstall(){

      //Setup Unix $this->unix = "MODULE_NAME"; }

    /**

    • Install/Activation instructions */ public function InstallStart(){

      //Makes the module active $this->createModuleActive(); } }

?>`

In order allow other users in non-administration areas to access your plugin you must add $this->createStarter(); to InstallStart

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.