Skip to main content
Inspiring
November 20, 2023
Question

Table of Contents behaving oddly

  • November 20, 2023
  • 6 replies
  • 804 views

Hi,

 

I wonder if some kind soul may be able to help me.

 

I've generated content from RoboHelp 2022.3. I have a table of contents that has sections. For some of the sections, when I click an item in the TOC in the generated content it shows that page, however, it also expands another completely unrelated section in the table of contents.

 

It happens with every page within a section, but not every section does this.

 

I've checked the table of contents in RoboHelp multiple times and can find nothing that would cause this.

 

I've been told that it may be a bug in RoboHelp, but I wondered whether anyone else had experienced this issue and if so whether they had found a way to stop it from happening.

 

Thanks!

    This topic has been closed for replies.

    6 replies

    Peter Grainge
    Community Expert
    Community Expert
    November 21, 2023

    I have to admit I am getting a bit lost here.

    • You have a merged setup.
    • The parent TOC simply has the references to the child projects. The parent has no topics of its own.
    • In the parent preset the default topic is a link to a topic in one of the child projects.

    Is that much correct?

     

    If you generate each child to a folder outside the merge, the TOC functions correctly. To be clear, generate to a new folder with sub-folders for each child but do not generate the parent. You need to test each child as if it were a standalone. Just change the path in the preset.

     

    Do the children then behave?

     

    Let us know and we can take it from there.

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    November 21, 2023

    Yes, it's a merged setup.

     

    The parent has one topic - a welcome page, which is the default topic. The rest of the TOC in the parent consists of multiple sections each containing a child project.

     

    I will do some more testing to answer your other questions and will report back when I've had chance to do that.

    Inspiring
    November 22, 2023

    Each child works in isolation, but that's because the issue was that when clicking a page in certain (but not all) sections of the child, it was the TOC of a different child that was auto expanding. It's a very strange issue!

     

    Anyway, after regenerating everything (parent and children) multiple times, it is now working locally. Then, after clearing the cache and refreshing multiple times, it is now working when accessed from the webserver.

     

    Thanks everyone for your assistance - much appreciated.

    Peter Grainge
    Community Expert
    Community Expert
    November 21, 2023

    Have tried regenerating all the projects starting with the parent? 

    ________________________________________________________
    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    November 21, 2023

    Sorry I didn't see this before I posted my reply above. Yes, I've started again from scratch generating the parent, then the child projects.

    Peter Grainge
    Community Expert
    Community Expert
    November 21, 2023

    Try auto-generating a new TOC and testing that.

     

    Which template are you using?

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    November 21, 2023

    Thanks, it's the Azure Blue template.

     

    I will try autogenerating the TOC in the child projects and will report back. As mentioned above, the master TOC consists of multiple sections each containing a child project, which I unfortunately neglected to mention in my original post. We've been using merged projects for a very long time as we have a huge amount of content of which we serve up different elements to different groups of people and have never had a problem until now. We're not aware that we are doing anything any differently to previously.

    Community Expert
    November 20, 2023

    Does this happen with the generated content on your local computer or only after you publish to a webserver? If it's only on a webserver, then it could be a caching issue. In this case you can ask the server administrator to set a shorter max-age http header on the whxdata folder

    Inspiring
    November 21, 2023

    Thanks very much for your reply. Yes, it's only on the webserver that it's happening. I will approach IT and ask very nicely for them to make the change you suggest.

    Update:

    I've just generated another project and I'm having the problem locally as well as on the server. It's happening on multiple browsers (Edge, Chrome, Firefox). I'm clearing my cache and refreshing, but I'm still seeing the problem locally as well as on the server. Any thoughts?

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 21, 2023

    Try generating into another new folder location on your local machine to see if it refreshes.

    Peter Grainge
    Community Expert
    Community Expert
    November 20, 2023

    Some books with links and some books without links to a topic?

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    November 20, 2023

    Thanks for replying,

     

    I've checked the HTML for the TOC very carefully and all pages within each section of the TOC have working links. When I click each item in the TOC it shows the correct page, it's just that it also auto expands another section in some instances. 

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 20, 2023

    Can you post some screenshots showing what's happening? 

    Inspiring
    November 20, 2023

    Thanks for replying.

     

    In the graphic below, if I click one of the items in the expanded Securing Documents group, the pdfDocs group at the bottom automatically expands (see second screenshot).

     

     

     

    Jeff_Coatsworth
    Community Expert
    Community Expert
    November 20, 2023

    Does the sample project misbehave? Does it misbehave if you try with a different preset?