Plugins

Plugins extend the functionality of Dubsite. Anything you see on the screen, including the administration-area, is provided by plugins. This makes the system flexible and scalable. Plugins may provide contenttypes, add administrative features, react on certain system-events ("hooks") and a lot more.

Plugins are stored in the directory "plugins". The directory, that stores the files of a plugin, is named after the plugin's alias-name, e.g. "plugins/Menu".

To install a plugin,

  1. copy the folder of the new plugin into the directory "plugins".
  2. Go to Configuration -> Plugins in the backend and click the green install-button next to the plugin in the list.

You can uninstall a plugin by clicking the red uninstall-button.

ATTENTION: When you uninstall a plugin, all data related to that plugin will be lost! For example, if you uninstall the "Article"-plugin, all articles will be deleted!

You can set a plugin inactive by unchecking the checkbox next to it's name in the list (and then save the list clicking the green checkmark on top). In this case no data will be lost, and you can reactivate the plugin anytime.

Upgrading a plugin

If a new version of a plugin is released, you can easily upgrade to that version:

  1. Download the plugin
  2. Replace the old version of that plugin with the new one by deleting the old plugin's directory in the "plugins"-folder (for example "/plugins/Article") and copying the new folder there.
  3. Log in and go to Configuration -> Plugins in the backend. The system will then recognize the new version automatically and perform the necessary steps to upgrade the plugin (for example changes in the database). After that you should see a success-message.

When you upgrade a plugin, make sure it matches your version of Dubsite. For example, if you have Dubsite 3.0 or 3.1 installed, you can only install/upgrade plugins, that have a version number starting with "3".