Back link parameter for webhelp
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 86
- Joined: Wed Feb 09, 2011 10:43 pm
Back link parameter for webhelp
Hello,
is there a parameter that I can use in my transformation scenario that could display a back link?
The parent topic and the bread crumb parameter bring back the user to the parent topic. Users don<t always want to go back to the parent topic, but just to the previous page.
I understand that the toc is displayed for that, and that the back button of IE does exactly that, but apprently users have a hard time going back to the previous page when in the Webhelp.
also I was unable to hide the parent link and the bread crumbs in the webhelp. I set the parameters to the proper value, but they remain displayed, any ideas why?
hide parent is set to yes and breadcrumbs is set to no.
thanks
is there a parameter that I can use in my transformation scenario that could display a back link?
The parent topic and the bread crumb parameter bring back the user to the parent topic. Users don<t always want to go back to the parent topic, but just to the previous page.
I understand that the toc is displayed for that, and that the back button of IE does exactly that, but apprently users have a hard time going back to the previous page when in the Webhelp.
also I was unable to hide the parent link and the bread crumbs in the webhelp. I set the parameters to the proper value, but they remain displayed, any ideas why?
hide parent is set to yes and breadcrumbs is set to no.
thanks
-
- Posts: 9448
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Back link parameter for webhelp
Hi Carole,
I do not know if this is possible using JavaScript, if it is then you could make a customization and add one.
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/webhelp/xsl/dita2webhelpImpl.xsl
Where you can look what the templates:
And possibly comment them out or change what they do.
But we'll consider adding such a parameter in a future version.
Regards,
Radu
No, this is usually what the browser does because such a link would have to behave in different ways depending on the way in which the user navigated through the TOC.is there a parameter that I can use in my transformation scenario that could display a back link?....
I do not know if this is possible using JavaScript, if it is then you could make a customization and add one.
For the moment there is no parameter to configure this, the entire link logic is in the stylesheet:also I was unable to hide the parent link and the bread crumbs in the webhelp. I set the parameters to the proper value, but they remain displayed, any ideas why?
hide parent is set to yes and breadcrumbs is set to no.
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/plugins/webhelp/xsl/dita2webhelpImpl.xsl
Where you can look what the templates:
Code: Select all
<xsl:template match="/|node()|@*" mode="gen-user-header">
....
<xsl:template name="oxygenCustomHeaderAndFooter">
...
<xsl:template match="/|node()|@*" mode="gen-user-footer">
But we'll consider adding such a parameter in a future version.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 86
- Joined: Wed Feb 09, 2011 10:43 pm
Re: Back link parameter for webhelp
Hello Radu,
does this mean that when you edit a transformation scenario, under the parameters tab, that the args.hide.parent.link and args.breadcrumb parameters don't do anything? and this is why I don't get the expected effect i.e. to hide the links?
Best Regards
Carole
does this mean that when you edit a transformation scenario, under the parameters tab, that the args.hide.parent.link and args.breadcrumb parameters don't do anything? and this is why I don't get the expected effect i.e. to hide the links?
Best Regards
Carole
-
- Posts: 9448
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Back link parameter for webhelp
Hi Carole,
The WebHelp output is provided by an additional plugin which is contributed by Oxygen to the bundled DITA Open Toolkit.
The args.breadcrumb parameter is documented in the DITA OT parameters list:
http://dita-ot.sourceforge.net/1.5.3/qu ... rties.html
but in fact it does nothing, I proposed them to remove it a while ago but they might keep it for some future work.
The args.hide.parent.link parameter properly works for the DITA OT XHTML-based transformations (except the WebHelp plugin we additionally provided).
We did not provide such a parameter (or use values from one of the existing parameters) for the WebHelp plugin because we considered there was not much usecase in hiding the parent links. That's why this can only be configured from the XSLTs for now. But I added an improvement request and probably a future version of Oxygen will either use one of these paramters to control the output or add a custom paramter for this.
Regards,
Radu
The WebHelp output is provided by an additional plugin which is contributed by Oxygen to the bundled DITA Open Toolkit.
The args.breadcrumb parameter is documented in the DITA OT parameters list:
http://dita-ot.sourceforge.net/1.5.3/qu ... rties.html
but in fact it does nothing, I proposed them to remove it a while ago but they might keep it for some future work.
The args.hide.parent.link parameter properly works for the DITA OT XHTML-based transformations (except the WebHelp plugin we additionally provided).
We did not provide such a parameter (or use values from one of the existing parameters) for the WebHelp plugin because we considered there was not much usecase in hiding the parent links. That's why this can only be configured from the XSLTs for now. But I added an improvement request and probably a future version of Oxygen will either use one of these paramters to control the output or add a custom paramter for this.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Back link parameter for webhelp
Post by sorin_ristache »
Hi Carole,
Regards,
Sorin
That is correct. Starting with the next version (Oxygen 14.2) the DITA WebHelp transformation will look at the parameter args.hide.parent.link and display the Parent, Next and Previous links in the header of every WebHelp page only if this parameter has the value no, which is also the default value.Boreas wrote:does this mean that when you edit a transformation scenario, under the parameters tab, that the args.hide.parent.link and args.breadcrumb parameters don't do anything? and this is why I don't get the expected effect i.e. to hide the links?
Regards,
Sorin
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