Commit 94fe8e63 authored by bmortier's avatar bmortier

Merge branch 'master' into 'master'

Added menu sections and configuration backend to the documentation

See merge request !4
parents 8e85b1fc 692f5c8b
Configuration back-end
======================
If your plugin needs to have some configuration stored into the LDAP and
to appear in the configuration page accessible from the menu, you
need to create another class for the configuration backend, inside your plugin.
Class for the configuration
---------------------------
You need to create a simplePlugin inheriting class that will have the
objectType **'configuration'** if you want a whole 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
----------------------------------
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:
.. code-block:: php
<?php
$config->get_cfg_value('option_name', default_value)
With *option_name* being the option name **without** the 'fd' prefix.
......@@ -11,3 +11,5 @@ You can write plugins for FusionDirectory using our simplePlugin class.
further
plinfo
attributes
configbackend
menusections
Menu sections
=============
Here are the existing menu sections and examples of priorities they use, so that you can select which priority you give your menu entry.
Users and groups (accounts)
---------------------------
* Departments - 0-9
* Departments - 0
* Users - 10-19
* Users - 10
* Groups - 20-39
* Groups - 20
* (Object groups - 21)
* NIS Netgroups - 25
* Aliases - 26
* ACL roles - 27
* ACL assignments - 28
* Other - 40-99
* Supann structures - 40
* Sudo - 45
* EJBCA - 50
* DSA - 55
* Password Policies - 57
* Applications - 60
Systems (systems)
-----------------
* Systems - 0-19
* Systems - 0
* DNS - 1
* (DHCP - 2)
* Auto fs - 5
* Deployment - 20-39
* FAI - 20
* Debconf - 21
* Repository management - 22
* OPSI - 25
* Deployment queue - 30
* Other - 40-99
* Samba domains - 40
* SOGo - 50
Configuration (conf)
--------------------
* Configuration - 0-9
* Configuration - 0
* (Password recovery - 1)
* GPG server info - 5
* Import/export - 10-29
* LDAP import/export - 10
* OPSI import - 15
Reporting (reporting)
---------------------
* Dashboard - 0
* Debug help - 1
* Inventory objects - 5
* Audit
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment