You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2009/09/30 08:47:06 UTC

svn commit: r820186 - /ofbiz/trunk/applications/commonext/documents/ApacheOfbizTechnical.xml

Author: hansbak
Date: Wed Sep 30 06:47:05 2009
New Revision: 820186

URL: http://svn.apache.org/viewvc?rev=820186&view=rev
Log:
added a section how to contribute portlet help screens

Modified:
    ofbiz/trunk/applications/commonext/documents/ApacheOfbizTechnical.xml

Modified: ofbiz/trunk/applications/commonext/documents/ApacheOfbizTechnical.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/documents/ApacheOfbizTechnical.xml?rev=820186&r1=820185&r2=820186&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/documents/ApacheOfbizTechnical.xml (original)
+++ ofbiz/trunk/applications/commonext/documents/ApacheOfbizTechnical.xml Wed Sep 30 06:47:05 2009
@@ -182,9 +182,17 @@
     <section>
         <title>Contributing a new help screen, a few steps.</title>
         <para>
-            So if you would like to create a new help menu for a certain
-            screen, you need to do the following:
-            <orderedlist>
+            There is a difference between portlets and 'normal' screens. If a 
+            page contains a portlet, the general help of the myportal component is shown with 
+            at the botton a list of the portlets used at that page. Help can be obtained by clicking on 
+            the relavant portlet.
+        </para>
+        <section>
+            <title>Normal pages.</title>
+            <para>
+                So if you would like to create a new help menu for a certain
+                screen, you need to do the following:
+                <orderedlist>
                 <listitem>
                     <para>In the helplink.ftl un-comment the
                         ${helpTopic} variable so it will appear at the
@@ -217,8 +225,20 @@
                         If the help text is usefull in the ofbiz document include it in the files in the document directory.
                     </para>
                 </listitem>
-            </orderedlist>
-        </para>
+                </orderedlist>
+            </para>
+            </section>
+        <section>
+            <title>Contributing a new Portlet) help screen.</title>
+            <para>
+                Portlets are normally defined and explained in the ${component name}PortletData.xml files. An example 
+                of an portlet with an existing help screen have a look at WorkEffortPortletData.xml 
+            </para>
+            <para>
+                The content records for the help file is defined together with the portlet definition and the axual help 
+                file is store in the related component /data/helpdata directory wit the nam HELP_PORTLET_${portletId}.xml. 
+            </para>
+        </section>
     </section>
     <section>
         <title><anchor id="helpInternationalization"/>Internationalization of the help system</title>