[cvs] [Wiki] changed: PopulatingYourFirstModule
Wiki Guest
wikiguest at horde.org
Mon Feb 9 00:05:35 UTC 2009
guest [129.187.43.121] Sun, 08 Feb 2009 19:05:35 -0500
Modified page: http://wiki.horde.org/PopulatingYourFirstModule
New Revision: 1.3
Change log: Initial Content added
@@ -1,9 +1,9 @@
[[toc]]
+ Introduction
-c by Torben Dannhauer
+by Torben Dannhauer
The process of populating the new module with content/functionality
is fairly straight forward and after learning how the Horde API' s
work, you should be able to produce new modules in a minimum amount of
time.
Jan Schneider talked about this at FOSDEM 2005. You can find his
slides at http://www.horde.org/papers/fosdem2005/.
@@ -14,15 +14,46 @@
* All Content-Pages which are accessible through on oh the menus
* Services offered to external modules
+ Menus
+
+In Horde there are two standard menus: The Top Menu an the Side Menu.
+
+ToDo: Add Links to Wikipages describing menus in detail.
++ Top Menu
+
+The Top MenĂ¼ is devided in to 4 sections:
+* left: Menuitems provided by this module
+* mid left: Menuitems added manually
+* mid right: Menuitems added in the administrator's setup
+* right: Menuitems provided by horde as default
+
++++ left
+Items ar added in <module>/config/menu.php:
+<code>
+$_menu[] = array(
+ 'url' => 'http://www.example.com/',
+ 'text' => 'Example, Inc.',
+ 'icon' => 'example.png',
+ 'icon_path' => 'http://www.example.com/images/',
+ 'target' => '_blank',
+ 'onclick' => ''
+ );
+
+</code>
+
+
+
++ Side Menu
+ Calling procedure at entering the application
+ Permissions
+
+The module's permissiontree which includes the logical structure of
all permissions available in this module is defined in
<module>/lib/api.php
+
+Further information about permissions is available at
http://wiki.horde.org/Doc/Dev/PermsPackage
+ Content-Page
+ Services
More information about the cvs
mailing list