Next Previous Contents

3. Installing your application

3.1 Overview

It is fairly simple to add and delete applications to/from phpGroupWare.

3.2 Automatic features

To make things easy for developers we go ahead and load the following files.

3.3 Adding files, directories and icons.

You will need to create the following directories for your code
(replace 'newapp' with your application name)

  `-- newapp
      `-- icons
      |   `-- navbar.gif
      `-- inc
      |   |-- header.inc.php
      |   `-- footer.inc.php
      |-- lang
      |   `-- en
      |       `-- newapp.inc.php
      `-- template       
          `-- default
  

3.4 Making phpGroupWare aware of your application

To make the application aware of your application, add your application setup in the inc/globalconfig.inc.php.
Simply add the following line just after '/* ADD NEW APPS HERE */' (replace 'newapp' with your application name)

  $phpgw_info["apps"]["newapp"] = array ("title" => "Title of Application", "enabled" => True);

Next Previous Contents