I'm using RoboHelp 2019 and need help inserting breadcrumbs in my topic.
Basically, is there a way to insert the breadcrumbs above the topic title?
I tried to put them inside the <Head> tags and also above those tags, but the topic title disappears then.
In the 2019 classic version, I put the breadcrumbs above the <h1>, but I don't have the <h1> anymore, so I'm lost.
Try with a master page.
I don't understand when you say you don't have H1 anymore.
sorry, Peter, for not being clear. I'll try to explain...
In my RH2019 classic topic code, there is an <h1> tag in the body, and I put the breadcrumbs above it, like so:
<p class="breadcrumbs">Instructions to complete the Software integration with
<p class="breadcrumbs"><a href="All_Tabs_Creating_a_New_Project.htm">Creating
a New Project</a> > <a href="Opening_a_Plan_Scenario.htm">Opening
a Plan Scenario</a> > <a href="Creating_a_Plan_Scenario.htm">Creating
a Plan Scenario</a> > <a href="Importing_Objects.htm">Importing
Objects</a> > <a href="Importing_Other_Objects.htm">Importing
<h1><?rh-variable_start name="title" format="default" value="Software Plug-In for OtherSoftware" ?>Software Plug-In for OtherSoftware<?rh-variable_end ?></h1>
<p class="body">The Software Plug-In for OtherSoftware gives OtherSoftware users access to Software data so that they can clearly see the impact...
In my RH2019 (not classic) topic code, the <h1> is no longer there in the <body>. I see that when I compile the project, the topic heading is displayed at the top of the topic. Here's the new html code:
<p class="BreadCrumbs">Instructions to complete the Software Plug-In for OtherSoftware workflow: Creating a Project > Opening a Plan Scenario > Creating a Plan Scenario > Importing Objects > Importing
<p class="body">The Software Plug-In for OtherSoftware gives OtherSoftware users access to Software...
Putting it in the master page sounds good, but I don't have breadcrumbs in every topic. Is that the only way?
It looks like the H1 stuff got messed up in the upgrade so the first thing is to fix that. It should just be a case of applying H1 to the heading text.
You can also choose to apply master pages to specific topics. The preset option is to save you doing that where all topics need the master page.
Of course, a second master page!
That's a great idea. I shall try it.
No need to fix the <h1> issue - it's not a problem. If I include it in the body, my heading is repeated, and I don't need that.
On second thought, I don't see how using the master page will work. I don't know how to define the breadcrumbs in each topic.
They will not be the same from topic to topic. I've been hard coding them until now.
Is it a snippet in the master page, maybe?