How to Create a Custom Footer
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.footer
parameter displays the custom content at the bottom
of the page.
Using a Publishing Template
To create a custom footer in the WebHelp Responsive output using an Oxygen Publishing Template, follow
this procedure:
- If you have not already created a Publishing Template, see How to Create a Publishing Template.
- Open the template
descriptor file associated with your publishing template and add the
webhelp.fragment.footer
parameter in the html-fragments section with its value set to a path of a file that contains well-formed XHTML content.<publishing-template> ... <webhelp> ... <html-fragments> <fragment file="html/footer.xhtml" placeholder="webhelp.fragment.footer"/> </html-fragments> </webhelp>
Important: This parameter should only be used if you are using a valid, purchased license of Oxygen XML WebHelp Responsive plugin (do not use it with a trial license). - Open the DITA Map WebHelp Responsive transformation scenario.
- Click the Choose Custom Publishing Template link and select your template.
- Click OK to save the changes to the transformation scenario.
- Run the transformation scenario.
Result: In the WebHelp output, your custom footer will be displayed at the bottom of the page.
Using a Transformation Scenario in Oxygen XML Editor/Author
To create a custom footer in the WebHelp Responsive output using a transformation scenario
from within Oxygen XML Editor/Author, follow this procedure:
- Edit the DITA Map WebHelp Responsive transformation scenario and choose a template.
- Open the Parameters tab and set the
webhelp.fragment.footer
parameter with its value set to one of the following:- A small well-formed XHTML fragment.
- A path to a file that contains well-formed XHTML content.
- Click OK to save the changes to the transformation scenario.
- Run the transformation scenario.
Result: In the WebHelp output, your custom footer will be displayed at the bottom of the page.