[commits] [Wiki] changed: CreatingYourFirstModule

Wiki Guest wikiguest at horde.org
Wed Feb 27 02:41:31 UTC 2013


guest [99.234.194.64]  Wed, 27 Feb 2013 02:41:31 +0000

Modified page: http://wiki.horde.org/CreatingYourFirstModule
New Revision:  18
Change log:  added missing steps and fixed a typo

@@ -156,19 +156,22 @@
  <code>mv horde/appname/test/Skeleton horde/appname/test/Appname
  </code>
  and
  <code>mv horde/appname/locale/skeleton.pot horde/appname/locale/appname.pot
+</code>
+and
+<code>mv horde/appname/migration/1_skeleton_base_tables.php  
horde/appname/migration/1_appname_base_tables.php
  </code>



  4. Perform some file modifications:

  <code type="sh">
-mkdir /path/to/modulename/themes/graphics
+mkdir /path/to/modulename/themes/default/graphics
  </code>

-5. Upload a PNG icon at 16x16 for the module to the path created  
above. This one is an example from the basic horde application:
+5. Upload a PNG icon at 16x16 named appname.png for the module to the  
path created above. This one is an example from the basic horde  
application:

   
https://github.com/horde/horde/blob/master/horde/themes/default/graphics/horde.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!
@@ -185,8 +188,10 @@
          // This is sufficient. More options possible if needed
      );

  </code>
+
+7. On the administration - configuration page, configure your app.  
(It won't display in the sidebar until you do.)

  ++ Horde 3

  It is not recommended to use the Horde 3 Skeleton from CVS any  
longer. There is currently no usable version of Skeleton which is  
tagged FRAMEWORK_3. An older revision of the CVS HEAD version may work  
though.



More information about the commits mailing list