Weave Help can be customised for your project/implementation of Weave rather than using the default Weave Help pages.
Instructions
Create a temporary directory that has the same name as the help content bundle, e.g.
c:\temp\com.cohga.client.weave.help.content_x.y.z\
where: x.y.z will be the version number of the bundle, not "x.y.z"Copy the
platform\plugins\com.cohga.client.weave.help.content_x.y.z.jar
file into the directory you just created.Change the file extension from jar to zip.
Extract the zip file into the directory. This should create
client\
andMETA-INF\
directories.Delete the original .zip file.
You can now start modifying the help pages as standard HTML pages. Each modification will require a number of steps as the menu, icon and page content may need to be created/modified.
Firstly we’ll add a new item to the menu by modifying the
HelpContent.js
file under theclient\js\actions\
folder. To add an entry (e.g. Example) to the Miscellaneous menu, the following entry needs to be added to the JavaScript file:Code Block language xml Weave.HelpMgr.add("Miscellaneous", "Example", 'resources/weave/help/html/misc/Example.html', 'icon-map');
The icon used for this new menu item is specified at the end of the entry added above. The icons used are the same as any icons used in Weave. Refer to the Icons section on this page for further details on icon use.
The new entry requires a corresponding HTML file and it will also use an image on the page. The HTML file (e.g.
Example.html
) is placed under theclient\resources\weave\help\html\
folder or sub-folder. The image (e.g.example.jpg
) is placed under theclient\resources\weave\help\images\misc\
folder or sub-folder.The recommended process for creating your customised help page is to copy an existing help HTML page and modify it. The result could be as shown below.
Code Block language xml <div class="body-wrap"> <h1>Example header</h1> <div class="description"> Help text goes here. </div> <div class="help-image"> <img src="resources/weave/help/images/misc/example.jpg"/> </div> </div>
Once you’ve modified the help files as much as you require, move the entire updated
com.cohga.client.weave.content_x.y.z\
directory to theplatform\plugins\
directory and delete the originalcom.cohga.client.weave.content_x.y.z.jar
file.For Weave 2.6 and later versions, this updated
com.cohga.client.weave.content_x.y.z\
directory could be moved into theplatform\custom\plugins\
directory.
Delete all files from the configuration directory (
c:\weave\platform\configuration
) except theconfig.ini
andfeliex.fileinstall
files.Restart the Weave service.
Open the Weave client to verify that the new help content is available.
Info |
---|
Refer to the Weave Configuration Reference for details on how to set up the Help tool: |
Related articles
Filter by label (Content by label) | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Page Properties | ||
---|---|---|
| ||
|