Skip to main content
August 29, 2017
Question

Some pages are not displayed in Robohelp 11

  • August 29, 2017
  • 4 replies
  • 589 views

In Robohelp 11 I am experimenting that some pages aren’t showed either in the Robohelp’s preview or in the browsers.

I have seen in the output file some code lines and scripts that I am sure Robohelp added by itself.  I am experimenting that some pages are showed with that “extra” code lines and some do not.

In some cases, if I delete the code of that file, the pages are showed in a normal way.

In the beginning I was sure that the problem was due to the added code in the files, but when I copy and paste some pages with the problem, the pasted page (the new page) doesn’t have any problem and it is showed in a normal way. And also if I compare the html output of both pages, it is the same.

This is the code which I am talking about:

<style type="text/css">

/*<![CDATA[*/

<!--

div.WebHelpPopupMenu { position:absolute;

left:0px;

top:0px;

z-index:4;

visibility:hidden; }

p.WebHelpNavBar { text-align:right; }

-->

/*]]>*/

</style>

<script type="text/javascript" language="JavaScript">

//<![CDATA[

function reDo() {

  if (innerWidth != origWidth || innerHeight != origHeight)

     location.reload();

}

if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {

        origWidth = innerWidth;

        origHeight = innerHeight;

        onresize = reDo;

}

onerror = null;

//]]>

</script>

<script type="text/javascript" language="javascript1.2">

//<![CDATA[

    <!--

    var linkedScrollbarStyle = "<link rel='stylesheet' href='../../../../../wf_topics.css'>";

    if( (!isTopicOnly()) &&(parent.gbFHPureHtml == null) )

    {

        document.write(linkedScrollbarStyle);

    }

    //-->

//]]>

</script>

<script type="text/javascript" language="javascript1.2" src="../../whmsg_nc.js" charset="utf-8">

</script>

<script type="text/javascript" language="javascript" src="../../whver_nc.js" charset="utf-8">

</script>

<script type="text/javascript" language="javascript1.2" src="../../whutils_nc.js" charset="utf-8">

</script>

<script type="text/javascript" language="javascript1.2" src="../../whproxy_nc.js" charset="utf-8">

</script>

<script type="text/javascript" language="javascript1.2" src="../../whlang_nc.js" charset="utf-8">

</script>

<script type="text/javascript" language="javascript1.2">

//<![CDATA[

<!--

if (window.gbWhTopic)

{

        var strUrl = document.location.href;

        var bc = 0;

        var n = strUrl.toLowerCase().indexOf("bc-");

        if(n != -1)

        {

                document.location.href = strUrl.substring(0, n);

                bc = strUrl.substring(n+3);

        }

        addTocInfo("Servicios\nAutorización Débitos Automáticos\nOpciones\nAplazamientos");

addButton("show",BTN_TEXT,"Show","","","","",0,0,"../../../../whd_show0.gif","../../../../whd_show2.gif","../../../../whd_show1.gif");

addButton("hide",BTN_TEXT,"Hide","","","","",0,0,"../../../../whd_hide0.gif","../../../../whd_hide2.gif","../../../../whd_hide1.gif");

addButton("prev",BTN_TEXT,"<<","","","","",0,0,"../../../../whd_prev0.gif","../../../../whd_prev2.gif","../../../../whd_prev1.gif");

addButton("next",BTN_TEXT,">>","","","","",0,0,"../../../../whd_next0.gif","../../../../whd_next2.gif","../../../../whd_next1.gif");

        document.write("<p style=\"text-align:right\"> ");

AddMasterBreadcrumbs("../../../../Ayuda.htm", "", ">", "Home", "../../../LIM/Lim_NEW/Parametros_/Rechazar.htm");

document.write("<a href=\"../../../ACV/Cuentas_de_Valores/ACV.htm\">Servicios<\/a> > <a href=\"Autorización_Débito_Automático.htm\">Autorización Débitos Automáticos<\/a> > <a href=\"Por_enviar.htm\">Opciones<\/a> > Aplazamientos<\/p>");

}

else

        if (window.gbIE4)

                document.location.reload(); 

onLoadHandler = function()

{

        if (window.setRelStartPage)

        {

    setTimeout("setRelStartPage('../../../../Ayuda.htm');", 1)

    setTimeout("UpdateBreadCrumbsMarker();", 1);

    }

}

if (window.addEventListener){ 

        window.addEventListener('load', onLoadHandler, false);  

} else if (window.attachEvent){ 

        window.attachEvent('onload', onLoadHandler); 

}

function onSetStartPage()

{

        autoSync(0);

        sendSyncInfo();

        sendAveInfoOut();

}

//-->

//]]>

</script>

<script type="text/javascript" language="javascript1.2">

//<![CDATA[

<!--

if (window.writeIntopicBar)

        writeIntopicBar(4);

//-->

//]]>

</script>

My questions are:

    1. What is the utility of the code that robohelp add, is it necessary?

    2. There are some way to avoid robohelp add this code to html output, with some configuration of robohelp?

    3. Why duplicating a page, the new works correctly and the other don’t, when both html outputs are the same?

I think that the problem may be due to an update of Robohelp, since previously it did not present the problem, and only happens with some pages of the project. I appreciate the help you can give me.

    This topic has been closed for replies.

    4 replies

    September 26, 2017

    Do you think this can be a Robohelp bug?. The problem is that the project in which this happened is a customer's project, and they say that the project started to fail suddenly, without making any changes. For this reason we thought it might be due to an update from Robohelp. Is possible that it is a Robohelp bug? Or it is a user caused problem (like when someone has imported pages)? I have not try yet any of the above solutions suggestions because my customers want to know more before take any option and they don't want this happend again.

    Captiv8r
    Legend
    September 26, 2017

    Soooo, nearly a month elapsed since the last communication.

    Does that mean you corrected issues earlier and are now seeing them again? Or did you just abandon it for about a month and now we are back to trying to troubleshoot the same issue?

    Cheers... Rick

    Captiv8r
    Legend
    September 26, 2017

    Oops, my bad. Just saw the full response.

    August 29, 2017

    Thank you for your answers!. I think this was the problem. I will follow the tutorial to restore the project or buy the William's script, and then I communicate you if those solutions works for me.

    Captiv8r
    Legend
    August 29, 2017

    Hi there

    This looks like a WebHelp output file that has managed to find its way back into the source files.

    See if the article linked below helps you solve it.

    Click here to view

    Cheers... Rick

    Peter Grainge
    Community Expert
    Community Expert
    August 29, 2017

    See

    http://www.grainge.org/pages/authoring/reverse_engineering/reverse_engineering.htm

    on my site. That links to Rick's page, the free method, and Willam's

    script, not free but quicker.

    Use the menu (bottom right) to mark the Best Answer or Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    August 29, 2017

    Is that code from the source topic or the output topic? If it is in the source, then someone has imported an output page. Likely you are seeing some red squares if it is in a source topic.

    The extra code added in output topics is to make the page render in the various pages. RoboHelp has always worked that way.

    When you copy from an output topic into a source topic you are likely doing it in a way that only picks up the text and not the extra code.

    If that is what you have done my site has a link to Rick Stone's manual solution and Willam van Weelden's script (not free).

    I'll add the link shortly.


    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.