Copy link to clipboard
Copied
Hi all,
I just came across an odd error in our generated HTML version (we use a customised Responsive HTML5 output).
When searching a topic via the search function, it is possible to click the topic and it is opened in the correct layout.
But when I open the topic in a new tab (right-click > Open in New Tab entry), the topic’s layout is ruined completely.
The layout can be restored by clicking Click here to view the page in full context, but I’d like to have the correct layout without this intermediate step.
This error only occurs recently, after we have updated our RoboHelp system from version 11 to RoboHelp 2017.
The extract from the source shows that RoboHelp processes another CSS file. But I’m not sure why and how I can change that (if not manually for all projects).
Correct layout:
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta http-equiv="Content-Language" content="de-DE" /><meta name="generator" content="Adobe RoboHelp 2017" /><title>Konfigurationsparameter des iMarket-Servers</title><link rel="StyleSheet" href="../VORLAGE_icubic_Handbuch.css" type="text/css" />
Ruined layout:
<!DOCTYPE HTML><html><head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=100%, initial-scale=1" /><meta name="generator" content="Adobe RoboHelp 11" /><title>iMarket-Benutzerhandbuch 3.19.0</title><link href="template/Theme_icubic_LookAndFeel/main.css" type="text/css" rel="stylesheet" /><link href="template/Theme_icubic_LookAndFeel/jqueryui-custom.css" type="text/css" rel="stylesheet" />
Is anyone else facing this problem or has an appropriate solution for me?
I also find this problem as fixed issue in RoboHelp 2019: https://helpx.adobe.com/robohelp/kb/fixed-issues.html
Cannot access full help with layout when a topic in Responsive HTML5 output is opened directly or in a new tab.
(Ref - 4110)
Is there any possibility to fix it without upgrading again?
Many thanks in advance
Ann-Kathrin
Copy link to clipboard
Copied
I know there was a bug in RH11 that would apply 2 CSS files to each topic in WebHelp output - one from the "apply to all" instruction in the layout & one from the individual topic level. I found if I just manually searched for all the individual CSS files and deleted them, the output would look correct. However, I don't know if this is your problem here in RH2017 or not. Are you fully patched up?
Copy link to clipboard
Copied
The second css mentioned in the broken view refers to jqueryui, which isn't part of RH11 or RH2017 as far as I'm aware. Could it be something manually added in the screen layout by a previous author?
Copy link to clipboard
Copied
The search will have selected the first square which is the zero width joiner (which is a space so you can't "see" it). Click the Select button and you'll see a narrow highlight, then click Copy.
Copy link to clipboard
Copied
I re-read the post you link to and it's a totally different issue, just hiding the text that lets you switch back to the full skin.
I finally found a reference to jqueryui, but I can't get the project to display in CSH mode at all. \_0_/
Try generating with a brand new screen layout (not copied) to see if it still happens. That would suggest some code change in the new screen layout that would not have been copied in to your old (existing) screen layout.
Copy link to clipboard
Copied
I have given it a try. Unfortunately, it still happens - even with a completely new screen layout. I think we have to live with it or upgrade to RH 2019 as it seems to be fixed there [https://helpx.adobe.com/robohelp/kb/fixed-issues.html (Ref. 4110)].
Anyway, many thanks for your help!
Copy link to clipboard
Copied
Thanks for the hint but I think this is not the problem I face. The "apply to all" setting is not selected in my project. I tried selecting it and chose different CSS files but the result was the same.
Copy link to clipboard
Copied
Possible but this has not been a problem in our former RH version (RH11). I compared the two !ScreenLayout! folders and they are equal.
I also found this solution [https://community.adobe.com/t5/RoboHelp/Remove-quot-Click-here-to-see-this-page-link-in-full-context...] ... seems to be the same problem but I can't do duplicate the step with the character map.
When I enter "zero width joiner" into the Search for: field and click the Search button, there is no hit. Thus, I can't paste the correct character into the ShowTopicInContext= area.
Copy link to clipboard
Copied
Ah, ok. Understood.
However, I reached no search result but copied the zero width joiner from here [https://emojipedia.org/zero-width-joiner/].
But, unfortunately, the layout is still disrupted.