To create a new context-sensitive help button, create a topic for the button to point to and add the button to the skin.
Procedure
- Create a topic, say, MyCustomTopic.html in the [LCC_home]\content-service\templates\FullSupport\httpdocs\help\ subdirectory.
- Open the application.yml for editing. This file maps context-sensitive help buttons (identified by an ID) to topics.
- Within the file's
help object, find the key element help.XXXX, where xxxx is the ID of the help button you want to add (say 1001).
- Save and close the application.yml file.
- Add the following code to your skin file (for example, the default skin.css) to display the button in the user interface.
<img style="display:none" class="link" cvHelpButton="1"
src="@APPNAME@?target=resource&action=image&file_name=help.gif"
onclick="CVPortal.helpFactory().showHelp('XXXX')"/>
where XXXX is the ID of the help button you just configured. If you want to change the appearance of the help button, replace help.gif with the name of your custom help button image file.