Expanding Breadcrumb Depth in Webhelp

Post here questions and problems related to editing and publishing DITA content.
manthony
Posts: 22
Joined: Mon Jan 20, 2014 11:44 pm

Expanding Breadcrumb Depth in Webhelp

Post by manthony »

Is there anyway to expand the depth of the breadcrumbs? We'd like to modify both the depth of the path and the separator used. This image illustrates what we are trying to accomplish:

Image
manthony
Posts: 22
Joined: Mon Jan 20, 2014 11:44 pm

Re: Expanding Breadcrumb Depth in Webhelp

Post by manthony »

Better view of image by clicking this:

http://content.screencast.com/users/mar ... dcrumb.png
manthony
Posts: 22
Joined: Mon Jan 20, 2014 11:44 pm

Re: Expanding Breadcrumb Depth in Webhelp

Post by manthony »

I've been able to modify the separator by modifying the skins/desktop/ toc_driver.js file at line 205:

/* $('#breadcrumbLinks').find('a').after('<span>&nbsp;/&nbsp;</span>'); Original */
$('#breadcrumbLinks').find('a').after('<span>&nbsp;>&nbsp;</span>'); /* PLATFORA Custom */

Now, all I need is a way to get the full path back to the root map for the book.

Has anybody made this work?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Expanding Breadcrumb Depth in Webhelp

Post by sorin_ristache »

Hello,

IN a future version we will try to allow more than two levels in the breadcrumb, maybe with a new parameter like webhelp.breadcrumb.depth in the Webhelp transformation.


Regards,
Sorin
manthony
Posts: 22
Joined: Mon Jan 20, 2014 11:44 pm

Re: Expanding Breadcrumb Depth in Webhelp

Post by manthony »

Sorin,

Thank you for that reply. Yes it would be nice to have that in the future. For the present, I am trying to customize this for my company. Any chance you could suggest which files I would need to change? (I'm hampered by the inability to run a debugger over this transformation.)

It appears dita2webhep.xsl is one file but is it the only one?

Thanks,

Mary
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Re: Expanding Breadcrumb Depth in Webhelp

Post by sorin_ristache »

If you want to customize this I think you can start from the template with the attribute mode="gen-user-header" in the file [Oxygen-install-dir]\frameworks\dita\DITA-OT\plugins\com.oxygenxml.webhelp\xsl\dita\dita2webhelp.xsl.


Regards,
Sorin
Costin
Posts: 837
Joined: Mon Dec 05, 2011 6:04 pm

Re: Expanding Breadcrumb Depth in Webhelp

Post by Costin »

Hello,

Just to update the thread, this problem has been resolved in Oxygen v18.
Now all parents are displayed in the breadcrumb.

If you have a license compatible with version 18 of oXygen, you can download the latest maintenance build of oXygen - 2016062718 (released on June 28th) - from our web site:
http://www.oxygenxml.com/download.html

The list of bug-fixes can be found here:
http://www.oxygenxml.com/build_history.html#2016062718

You can follow the release/build RSS feed here:
http://www.oxygenxml.com/rssBuildID.xml

Regards,
Costin
Costin Sandoi
oXygen XML Editor and Author Support
Post Reply