Documentation for installing the Dokuwiki plugin to Group-Office.

NOTICE: Dokuwiki needs to be installed on the same domain as your Group-Office installation.
NOTICE: After this install procedure only users of Group-Office can login to Dokuwiki.

1. Install Dokuwiki on the server.
2. Copy the file: inc/auth/groupoffice.class.php to the Dokuwiki installation.
3. Open the dokuwiki config file found in this location: [path to dokuwiki]/conf/dokuwiki.php
4. Set the following config variable: $conf['authtype'] = 'groupoffice';
5. Create 2 new variables in the config file: 
      $conf['GO_root']  = '[path to the groupoffice dir]';      ( example: $conf['GO_root'] = '/var/www/groupoffice-3.7/'; )
      $conf['GO_php']   = '[path to the groupoffice php file]'  ( example: $conf['GO_php'] = '/var/www/groupoffice-3.7/www/Group-Office.php'; )

NOTE: To configure which user has management options and which is the superuser set the following options too:
      $conf['superuser'] = '[superuser]';    
      $conf['manager'] = '[manager]';

The modification of the files is now complete.
Now login to Group-Office, go to the Dokuwiki tab and click on "Settings".
Set the correct url and title for Dokuwiki and click on "Ok". (example url: http://localhost/dokuwiki)

Now Dokuwiki should be accessable through Group-Office.


===================================================================
You may want to disable the login/logout button from DokuWiki.

This can be done by editing the file main.php of the DokuWiki template. Remove this line:

<?php tpl_button('login')?>

===================================================================