Edit online

The main page of the WebHelp Responsive output contains a set of empty placeholders that can be used to display customized text fragments. These placeholders are available to you through WebHelp Responsive transformation scenario parameters. For example, the placeholder identified through the webhelp.fragment.welcome parameter displays text content above the search box in the main page.

Using a Publishing Template

To add a customized welcome message in the main page of the WebHelp Responsive output using an Oxygen Publishing Template, follow this procedure:
  1. If you haven't already created a Publishing Template, see Working with Publishing Templates.
  2. Open the template descriptor file associated with your publishing template and add the webhelp.fragment.welcome parameter in the parameters section with its value set to one of the following:
    • A small well-formed XHTML fragment (such as: <i>Welcome to the User Guide</i>).
    • A path to a file that contains well-formed XHTML content.
    <publishing-template>
        ...
        <webhelp>
            ...                
            <parameters>
                <parameter name="webhelp.fragment.welcome" value="c:\myMessage.xhtml"/>
            </parameters>
        </webhelp>
  3. Open the DITA Map WebHelp Responsive transformation scenario.
  4. Click the Choose Custom Publishing Template link and select your template.
  5. Click OK to save the changes to the transformation scenario.
  6. Run the transformation scenario.

    Result: In the WebHelp output, your custom message will be displayed above the search box in the main page.

Using a Transformation Scenario in Oxygen XML Editor/Author

To add a customized welcome message in the main page of the WebHelp Responsive output using a transformation scenario from within Oxygen XML Editor/Author, follow this procedure:
  1. Edit the DITA Map WebHelp Responsive transformation scenario and choose a template.
  2. Open the Parameters tab and set the webhelp.fragment.welcome parameter with its value set to one of the following:
    • A small well-formed XHTML fragment (such as: <i>Welcome to the User Guide</i>).
    • A path to a file that contains well-formed XHTML content.
  3. Click OK to save the changes to the transformation scenario.
  4. Run the transformation scenario.

    Result: In the WebHelp output, your custom message will be displayed above the search box in the main page.