Multiple footers?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 32
- Joined: Wed Aug 16, 2017 8:07 pm
Multiple footers?
Hi!
I have two different footer html files that I would like to use in my webhelp output. I am using the webhelp.fragment.footer parameter currently to point to my footer, but I would like a different, larger footer on the index landing page. Is it possible to reference a different footer file/fragment in that page only?
Thanks for your help
Kim
I have two different footer html files that I would like to use in my webhelp output. I am using the webhelp.fragment.footer parameter currently to point to my footer, but I would like a different, larger footer on the index landing page. Is it possible to reference a different footer file/fragment in that page only?
Thanks for your help

Kim
-
- Posts: 222
- Joined: Tue Jul 01, 2014 11:48 am
Re: Multiple footers?
Post by bogdan_cercelaru »
Hello,
To use different footer file for index page you should follow this procedure:
Bogdan
To use different footer file for index page you should follow this procedure:
- Create a backup copy of the "${DITA-OT-DIR}\plugins\com.oxygenxml.webhelp.responsive\templates\dita\bootstrap" directory. This could be helpful if you want to revert your changes.
- Copy "${DITA-OT-DIR}\plugins\com.oxygenxml.webhelp.responsive\templates\dita\bootstrap\footer.xml" file to "${DITA-OT-DIR}\plugins\com.oxygenxml.webhelp.responsive\templates\dita\bootstrap\index_footer.xml"
- Open newly created "${DITA-OT-DIR}\plugins\com.oxygenxml.webhelp.responsive\templates\dita\bootstrap\index_footer.xml" file and replace with
Code: Select all
<whc:include_html href="${webhelp.fragment.footer}"/>
Code: Select all
<whc:include_html href="${webhelp.fragment.index.footer}"/>
- Open "${DITA-OT-DIR}\plugins\com.oxygenxml.webhelp.responsive\templates\dita\bootstrap-custom\wt_index.html" file and replace with
Code: Select all
<!ENTITY footer SYSTEM "footer.xml">
Code: Select all
<!ENTITY footer SYSTEM "index_footer.xml">[/list]
- Edit the "Configure Transformation Scenario(s)" dialog
- Edit the "DITA Map WebHelp Responsive" transformation scenario
- In the "Templates" tab select a template
- Go to "Parameters" tab
- Add a new parameter by pressing the "New" button. Enter "webhelp.fragment.index.footer" in the "Name" field and select your custom footer file that should be included on the index page
- Edit the "webhelp.fragment.footer" parameter to point to the custom footer file that should be included in all other pages
Bogdan
Bogdan Cercelaru
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service