Friday, May 4, 2012

Creating a horde module

After successfully configuring horde a new application can be easily created.

1. Working horde packs can be downloaded via, ftp://ftp.horde.org/pub/horde-webmail/.

2. Next download the horde skeleton module using GIT repository.

     $ git clone --depth 1 git://github.com/horde/horde.git
   $ cd horde
   $ cp -R skeleton/ /your/install/path/to/horde/


3. Move the new module to /var/www/html/horde directory.( Full installation guide including moving the folder and renaming the module is available at http://wiki.horde.org/CreatingYourFirstModule?referrer=HowTo )

4. Then Open /var/www/html/horde/config/registry.php. Add the following entry to the file.
(module name = skeleton)

 $this->applications['skeleton'] = array(
             'fileroot' => dirname(__FILE__) . '/../skeleton',
             'webroot' => $this->applications['horde']['webroot'] . '/skeleton',
             'name' => _("Skeleton"),
             'icon' => $this->applications['horde']['webroot'] . '/skeleton/themes/graphics/me.png',
             'status' => 'active',
             'menu_parent' => 'horde'     );

No comments:

Post a Comment