[commits] [Wiki] changed: CreatingYourFirstModule

Ralf Lang lang at b1-systems.de
Wed Mar 2 10:34:28 UTC 2011


rlang  Wed, 02 Mar 2011 10:34:28 +0000

Modified page: http://wiki.horde.org/CreatingYourFirstModule
New Revision:  1.10
Change log:  broken image link, added new one

@@ -119,8 +119,10 @@

  5. Upload a PNG icon at 16x16 for the module to the path created  
above, this one is available if you're stuck:

  http://spriggs.org.uk/projects/horde_dev/fitlog/themes/graphics/fitlog.png
+(The link doesn't work for me anymore, try this one:)
+http://groupware.ralf-lang.de/ajaxadmin/themes/graphics/ajaxadmin.png

  6. In /path/to/horde/config/registry.d/ create a file called  
modulename.php. Please note the lack of ?> at the end of the php  
block, and also the menu parent. If you want your object to go  
*ANYWHERE ELSE* you will need to change this!

  <code type="php">
@@ -132,6 +134,8 @@
      'status' => 'active',
      'menu_parent' => 'horde'
  );
  </code>
+
+This snippet is for horde3. I didn't test it for horde4.

  OK, so you now have your first module. Now, you need to populate it  
with content. This will be the subject of the next section:  
PopulatingYourFirstModule



More information about the commits mailing list