Skip to main content
Jared Hess
Brainiac
August 22, 2018
Question

RHCL for Responsive HTML5?

  • August 22, 2018
  • 1 reply
  • 1127 views

I need RHCL to work in order to do regular batch file builds of our help projects without having to open the UI and build from the UI. The RHCL building seems to work and the output ends up in the proper directory.

However, when I view index.htm from the generated output location in my browser, I see this:

At the top of the index.htm pageAt the bottom of the index.htm page

Weird that the topic appars in that little container at the bottom of the page, huh? Anyway, this makes me think the script that makes everything work is missing or doesn't work from an RHCL build. The problem appears to just be with index.htm.

If I then access just a topic by itself (outside of full context), meaning without using index.htm, it displays fine:

And here's what index.htm should look like (This is what I get when I generate by hand directly inside of RH):

Ideas?

This topic has been closed for replies.

1 reply

Jared Hess
Brainiac
August 22, 2018

Interestingly, when I compare the index.htm from both ways of building inside Beyond Compare, they are actually identical except for some variables that are flip flopped. But I understand some javascript, and that shouldn't cause this issue:

And here's the results of a folder compare. So something is clearly messed up.

I guess I won't be using RHCL... again.

Jared Hess
Brainiac
August 22, 2018

Ah hah... I think I found the culprit. The HTMl5 layout resources aren't getting copied with RHCL.

Notice my HMI layout on the left (manually generated version) it's all there. On the right (the RHCL version), it isn't:

Copying the content from the left side into the right side resolves the problem:

I might... be able to automate that in my batch file to get around this bug.

Inspiring
September 27, 2018

Faeneth​ There's one called !ScreenLayout!.fpj, and I was just wondering if the screen layout folder might be missing from that file. But it's truly a longshot.

Something like this:

<?xml version="1.0" encoding="utf-8"?>

<rhpml majorversion="6" minorversion="12">

<folders>

<folder>

<name>Theme1_Standard</name>

</folder>


Hi Amebr,

I have since fixed my problem with RHCL - I ran the script "Topic Fixer" from helpessentials, which fixed all my .fpj files.

Thanks for the suggestion, though .