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

KrischuAuthor
Inspiring
March 14, 2017

Hi Cristoph,

The BSSCPopup is done just by inserting a hyperlink as normal, but selecting the "Display in auto-sizing popup" radio button.


Thanks Amebr, fine. That what I was looking for regarding my BSSCPopup question.

@Peter Grainge:

Yes, you are right to be lost The popup should point to a page that is not in the TOC (I thought is has to be in the TOC to be found later in the .CHM). The page is in the FS in the project and it is in the project tree.

Thus I would assume it being found a runtime of the CHM. But I'm getting this javascript run time error when testing the popup.

So I thought in the first place it was due to the fact that the page was not in the TOC.

At the moment the problem persists, when I take out the page of the TOC.

--

Christoph