question

Sam avatar image
0 Likes"
Sam asked Logan Gold commented

Custom Help Manual with multiple sections

I created a custom button in a gui screen that goes to a custom help manual.

inside MAIN:/project/exec/globals/helpmanual/TableOfContents/XXXX/, I have the following entry for my manual entry.

screenshot-2024-08-05-085710.png


Here is my MultipleLocation.HTML file.

<!DOCTYPE html><html><head>
    <title>Multiple Locations</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="../../../../manual/CSS/FlexsimHelpStandard.css">
    <link rel="icon" href="favicon.png" type="image/png">

</head>

<body>
    <header>
        <h1>Multiple Locations</h1>
        <nav>
            <ul>
                <li><a href="#part1">part1</a></li>
                <li><a href="#part2">part2</a></li>
                <li><a href="#part3">part3</a></li>
                <li><a href="#part4">part4</a></li>
                <li><a href="#part5">part5</a></li>
                <li><a href="#part6">part6</a></li>
                <li><a href="#part7">part7</a></li>
                <li><a href="#part8">part8</a></li>
                <li><a href="#part9">part9</a></li>
            </ul>
        </nav>
    </header>

    <section id="part1">
        <h2>part1</h2>
        <p>This part1 of the page</p>
    </section>

   <section id="part2">
        <h2>part2</h2>
        <p>This is part2 of the page</p>
    </section>

 <section id="part3">
        <h2>part3</h2>
         <p>This is part3 of the page</p>
    </section>
 <section id="part4">
        <h2>part4</h2>
        <p>This is part4 of the page</p>
    </section>
 <section id="part5">
        <h2>part5</h2>
        <p>This is part5 of the page</p>
    </section>
 <section id="part6">
        <h2>part6</h2>
        <p>This is part6 of the page</p>
    </section>
 <section id="part7">
        <h2>part7</h2>
        <p>This is part7 of the page</p>
    </section>
 <section id="part8">
        <h2>part8</h2>
        <p>This is part8 of the page</p>
    </section>
 <section id="part9">
        <h2>part9</h2>
        <p>This is part9 of the page</p>
    </section>
</body></html>


I created a gui screen with a button that activates the manual. I have a node that lists the help manual section.

screenshot-2024-08-05-092717.png

I have a gui button that loads the help manual.

applicationcommand("showguihelp", ownerview(c));

When i run the code, the manual pops up but doesnt show the section i would like it to show.
In previous versions this worked. Did something change how sections are displayed?

FlexSim 23.0.15
users manualcustomcommand helps
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @Sam, was my answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Logan Gold avatar image
0 Likes"
Logan Gold answered

It looks like you are trying to add a new topic to the help manual. There shouldn't be anything in 23.0 that would have broken that, but you may want to update to 2024 since development has stopped with 2023.

For standard documentation, this feature seems to work fine. If you are using a custom module, you probably need to follow the FloWorks or RailWorks pattern, as opposed to something like the AStar pattern. AStar has the advantage of its files living in the actual manual, where the other modules bring their own manual.

So if you can, try to follow what FloWorks does, and then let us know if there are still any issues. If there are issues, you will probably need to provide a module that demonstrates the problem.

And please let us know if I have misunderstood your issue, or if there is something else going on that I have not addressed in this answer.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.