[commits] [Wiki] changed: Doc/Dev/HordeAjaxApplications/Example

Ralf Lang (B1 Systems GmbH) lang at b1-systems.de
Wed Dec 16 11:41:48 UTC 2015


rlang  Wed, 16 Dec 2015 11:41:48 +0000

Modified page: http://wiki.horde.org/Doc/Dev/HordeAjaxApplications/Example
New Revision:  2
Change log:  Try to show the code as code

@@ -13,10 +13,10 @@
  Started new Module in /srv/git/horde5-webmail/horde/boneyard!

  Register the new Module with a file in the config/registry.d directory:

-<?php
-$this->applications['boneyard'] = array('name' => _("Boneyard"));
+``<?php
+$this->applications['boneyard'] = array('name' => _("Boneyard"));``


  We put a file with this oneliner into the directory as advised

@@ -70,16 +70,16 @@
  At this point, we do not care about the actual contents of this  
config - the defaults are just fine.

  If you only see "horde" and some library names, you most probably  
have not edited registry.local.php to contain something like:

-<?php
+``<?php
  // By default, applications are assumed to live within the base Horde
  // directory (e.g. their fileroot/webroot will be automatically determined
  // by appending the application name to Horde's 'fileroot'/'webroot' setting.
  // If your applications live in a different base directory, defining these
  // variables will change the default directory without the need to change
  // every application's 'fileroot'/'webroot' settings.
-$app_fileroot = '/srv/www/vhosts.d/horde.ralf-lang.de/';
+$app_fileroot = '/srv/www/vhosts.d/horde.ralf-lang.de/';``

  Now "Boneyard" should appear in your horde topbar with some bogus  
buttons and content

  Let's create the structure of a "dynamic" application



More information about the commits mailing list