Skip to main content
Inspiring
March 10, 2017
Question

How are .htm pages imported and make into the TOC?

  • March 10, 2017
  • 1 reply
  • 954 views

I'm having a problem with RH (9) recognizing a page which I added to the project, but it seems that I did not "import" it the right way.

Situation: I had a piece of code in a page like this:

<a href="javascript:BSSCPopup('/Bearbeiten/FieldAttributes.htm');"

                                         id="a1">Feldeigenschaften</a>

Before the path to the .htm was pointing into the file system outside the projects' directory and the folder "Bearbeiten" was somthing different. Anyway, what I did, was to create a folder in the filesystem within the projects' directory, named "Bearbeiten" and put that file "Fieldattributes.htm" into it.

Somehow it looked like the link is still broken, that is, the file does not appear in the "Topic List"-pod.

Then I added a new folder in the project tree, named "Bearbeiten" and the file Fieldattributes (Title "Feldeigenschaften") appeared. Fine.

Now I see the file in the Topic list, but it has "No" in the TOC column and TOCName empty.

The weird thing now is, that the file is not found when I click on the Popup-Link in the CHM topic.

How can I make this link work?

--

Christoph

Can add the finding, that the page isn't in the content of the CHM, when examining it using HTML Help Studio. So how can I make the newly imported HTM file visible in the TOC?

This topic has been closed for replies.

1 reply

Peter Grainge
Community Expert
Community Expert
March 10, 2017

Anyway, what I did, was to create a folder in the filesystem within the projects' directory, named "Bearbeiten" and put that file "Fieldattributes.htm" into it.

If I follow you, you did that in File Explorer so RoboHelp didn't know about it. Then you imported that topic into Project Manager so it shows there and in the Topic List.

Unless you add that to the TOC it will not appear.

Have you recreated the link since you followed the correct procedure and add the topic into Project Manager?


See www.grainge.org for RoboHelp and Authoring information

@petergrainge

Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
KrischuAuthor
Inspiring
March 13, 2017

@

https://forums.adobe.com/people/Peter+Grainge  schrieb

Anyway, what I did, was to create a folder in the filesystem within the projects' directory, named "Bearbeiten" and put that file "Fieldattributes.htm" into it.

If I follow you, you did that in File Explorer so RoboHelp didn't know about it. Then you imported that topic into Project Manager so it shows there and in the Topic List.

Unless you add that to the TOC it will not appear.

Have you recreated the link since you followed the correct procedure and add the topic into Project Manager?

Thanks, Peter.

Yes, that's the way I did it so far.

How do I add it to the TOC? I probably did not recreate the link.I only hand-edited the HTML code of the BSSCPopup('/Bearbeiten/FieldAttributes.htm');

--

Christoph

Captiv8r
Legend
March 14, 2017

I seem to have found how it works: (I'm working on that project that somneone else had created some time befor and he isn't available anymore, that's why I have to try to understand the while structure).

They used a special TOC, named "unassigned topics" and put all the pages that were only referenced in Popups into that TOC.

Seems that a topic gotta be in any TOC to be carried with the CHM. Whether the TOC is visible later in the CHM depends which TOC is displayed anyway.

So to say in my humble words.

--

Christoph


Hi there

I'm not sure exactly which version introduced this feature, but RoboHelp now offers a feature whereby topics that have not been referenced in the TOC (or elsewhere) are not included in the output.

So what you are describing would seem that this option exists in your version 9 (again, it may, I'm not certain as I don't have it available at the moment to examine) and the option is enabled.

But what's very puzzling to me about this is that you say the topic exists as a popup from another topic. And in that case, unless there is a bug with the feature, which there could have been although I don't recall ever seeing anyone report it here in the forums, the topic should have been included because it was actually referenced from a different topic.

Cheers... Rick