cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Cocoon Wiki] New: PortalToolsPlugins
Date Fri, 28 Jan 2005 10:42:05 GMT
   Date: 2005-01-28T02:42:05
   Editor: JensMaukisch
   Wiki: Cocoon Wiki
   Page: PortalToolsPlugins

   no comment

New Page:

= PortalToolsPlugins =

A plugin should add/group administrative functions for one special concern (e.g. user management).

== Components ==

Each plugin must contain at least the following components:
 * Tool.xml
 * Sitemap.xmap
 * i18n-Files
 * Flow/Forms/JX-Templates/Stylesheets/Images etc. required by the plugin

=== tool.xml ===

The tool.xml is a 'description' of the plugin. It contains a name, id and a list of
functions which it offers to the user. Furthermore it hold information about the
i18n-catalogues bundled with the plugin. With the further development of the
RightsManagement the tool.xml will include soon authentication idÂ’s and defaults.

A sample tool.xml will look like this:
<tool name="copletManagement.title" id="copletManagement">
    <function name="copletManagement.editLayout"   
     id="copletMangementEditLayout" pipeline="showTab"/>
    <catalogue id="copletManagement" name="copletManagement"/>

|| name || The name of the plugin, will be displayed in the menu. Should be an i18n-key||
|| id || a unique id for the plugin. every other id or key should start with this id||

|| name || name of the function, i18n-key||
|| id || unique id for the function ||
pipeline || a pipeline in the sitemap which contains displays the gui ||

|| id || id for the catalogue ||
|| name || name of the catalogue (the beginning of the i18n-filenames)||
The location is generated automatically.

=== sitemap.xmap ===

The sitemap must contain at least pipelines for the functions declared in the
tool.xml. Please have a look at the sitemaps provided with the samples for further
detail (especially how the portal-skins are applied).

=== i18n-Files ===

The i18n-File are standard Cocoon-i18n-Files. Add one file for each language required.
If you want to give your tool back to Cocoon you should add an english file as default (youPluginName.xml)

View raw message