Hi Erik,
The page that you get has javascript code to open a popup window to launch page containing context sensitive help. If you view source of the page you get for CSH link, you will find it has javascript code like :
<script language="JavaScript" src="/robohelp/robo//server/resource/window.js"></script>
<script language="JavaScript">
//function Main()
{
var cWnd = new CWindow();
cWnd.m_bUseProp = 1;
cWnd.m_strFrameName = 'DHW_TestCSH|RHS_CSH';
cWnd.m_strURL = '/robohelp/server?%26mgr%3Dagm%26agt%3Dwsm%26wnd%3DTestCSH%7CRHS_CSH%26tpc%3D%2Frobohelp%2Frobo%2Fserver%2Fgeneral%2Fprojects%2FTestCSH%2FTopic1.htm%26ctxid%3D2%26project%3DTestCSH';
SetRect( cWnd, 5, 5, 90, 90, 0, 0, 0, 0 );
SetProperty( cWnd, 1, 1, 0, 1, 1, 1, 1 );
Execute( cWnd );
};
</script>
May be you have popup blocker enabled in your browser and that’s why popup window containing the help doesn’t open up.
The reason its launched in a separate browser window is so that CSH window properties specified in help layout can be applied on the new window.
It’s designed to work this way because CSH window has certain properties applied on it like width, height etc which are specified in webhelp pro window used while publishing and the idea behind opening CSH topic in a separate window is that we can apply the CSH window settings.
Same behavior was there for RHS 7 as well.
Actually the way this URL is expected to be used for CSH is that this URL will be directly called from some html page and since we do not want CSH help window to replace the calling html page, it’s opened in a new popup window.
If you have to do away with the popup window and want the page to open directly by entering the URL, then there is a workaround, but in that case your CSH window won’t have the properties specified in Webhelp Pro window used while publishing Webhelp Pro to RoboHelp Server 8.
The workaround is as follows:
1) Backup <RHS8_Install>/WEB-INF/SysWebPrjLst/wnd_ie_iframe.asp and <RHS8_Install>/WEB-INF/SysWebPrjLst/wnd_ns_window.asp
2) Stop Tomcat service
3) Edit <RHS8_Install>/WEB-INF/SysWebPrjLst/wnd_ie_iframe.asp and <RHS8_Install>/WEB-INF/SysWebPrjLst/wnd_ns_window.asp and copy following text in these files:
<html>
<head>
<meta http-equiv="Refresh" content="0; url=<%=strWorkspaceURL%>">
</head>
<body>
<font face="Verdana, Arial, Helvetica" size="2">The help page you are looking for can be found at <a href="<%=strWorkspaceURL%>">here</a>.</font>
</body>
</html>
4) Delete all files in <RHS8_Install>/robo/server/resource
5) Start tomcat service again
Now the CSH url should take you directly to the help page you are looking for.
Regards
Tulika.
RoboHelp Server Team