Add this page to your book
Remove this page from your book
Table of Contents
If your plugin needs to have some configuration stored into the LDAP and appearing in the configuration plugin accessible in the Addons menu, you need to create another plugin for the configuration backend, inside your plugin.
Programming a plugin for the FusionDirectory config backend
You need to create a simplePlugin inheriting class that will have the objectType 'configuration' if you want a whole config tab for your plugin or simply 'smallConfig' if you have only one or two sections that can be displayed with the other plugins in the plugins tab of the configuration.
Ldap storage for the configuration backend
To store your configuration options into the LDAP backend you will need to write your own schema. The options needs to have a name which starts by the prefix 'fd'.
They will be accessible in the PHP code using
with option_name being the option name without the 'fd' prefix.