Copy link to clipboard
Copied
In my RH6 project, I summon a hidden Related Topics control via "JavaScript:RelatedTopics.Click", which works just fine. However, this feature didn't survive the upgrade to RH8. It probably isn't directly related to the upgrade, as I haven't been able to construct this mechanism from scratch in RH8, either. Well, not in a way that works...
A plain vanilla unhidden Related Topics control works OK, but not the JS construct.
Any hints or suggestions? I'd like to keep using this feature if at all possible.
Thanks,
G.
Copy link to clipboard
Copied
I just checked the first one attached to the post and it unzipped OK using WinZip.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Well, Peter, I'm not sure what the point of that was, but when I downloaded it and tried to open it, it did not work. Twice. Other ZIP files I've downloaded from this forum. have worked fine.
But at any rate, we now have a new one.
Regards, Eileen
Copy link to clipboard
Copied
The point was to let you know that it did work OK here using WinZip. My thinking was that maybe you were using some other zip tool or that maybe something had gone wrong with the download. I thought by knowing the file was good for someone else, you could try again with maybe more success.
That is why I posted.
See www.grainge.org for RoboHelp and Authoring tips
Copy link to clipboard
Copied
Still broken since Oct. '09.
I sent another bug report.
Sad.
Copy link to clipboard
Copied
Perhaps try some of the things suggested in this thread. The errors sort of sound similar.
As always, create a backup of your project before starting.
Specifically:
1. Try running it in a new test project (or maybe one of the sample projects?) to see if it works there. Then you would know if is something specific to your project is causing a problem.
2. Delete the cpd and try again.
3. The msg(filepath) bit sounds interesting, but I don't know any scripting or where to put it, but maybe you have a resource who could have a go.
Amebr
Copy link to clipboard
Copied
Hello again,
I just used the Related Topics From Javascript Call and generate Webhelp script and noticed a problem: If a help topic contains two links to the same RelatedTopic list (that is, two occurrences of <a href="javascript:RelatedTopic0.Click()" class="popuplk">), then the first one works in the WebHelp but the second one doesn't.
If I open the topic in RH's WYSIWYG editor, I can't see any difference between the two links. Perhaps the simple act of opening them in the editor is changing the source?
At any rate, I was hoping that Praful (or somebody else) would be able to provide a way to solve this.
Regards,
Eileen
Copy link to clipboard
Copied
Hi,
I know this is an old thread, but I have the same problem with a project that still is in RH7. Is this problem solved in RH9? I have RH8, but could be able to upgrade to RH9 if that means this will work as before.
Best regards,
Rannveig/.
Copy link to clipboard
Copied
Hello. I'm jumping in this thread to ask a related question. Rick (robowizard) provided a tip on a workaround on how to get our shortcuts working again, and I submitted a bug report. In response to the bug report Praful supplied a link to the ZIP file and I have downloaded. I've also asked some further questions of Praful regarding how/when/where to execute the scripts.
No one has mentioned if they are using RH8 in RoboSource control. Will RSC throw up a red flag due to the changes made by the script? I'm thinking it might complain about changes made outsite the project. Are there other issues when using RSC related to this fix?
Hopefully this is not too vague of a question, but this whole issue is putting us in deeper water than we are used to, and I want to make sure as many bases as possible are covered before running the scripts.
Thanks for any information anyone can provide.
Joe
Copy link to clipboard
Copied
Hello everybody, and Happy new year.
I have the same problem occuring to my projects.
Praful's javascripts seems to be the solution, but I didn't manage to execute them. Can someone explain me how/when/where to execute the scripts ?
Thank you in advance.
Nathalie.
Copy link to clipboard
Copied
Nathalie,
Below are the instructions to use the scripts slightly modified. I have not had a chance to test this yet on my project. BE CAREFUL!
There is a user forum thread @ http://forums.adobe.com/message/2342314, where this script file was uploaded. You need to get it if you have not.
The zip file contains 3 script files as listed below. Use the one that applies to your project (Webhelp or HTML/CHM).
· “ Related Topics From Javascript Call ” which just patches the project and does not generate the output.
· “ Related Topics From Javascript Call and generate Webhelp ” which patches the project and generate webhelp output
· “ Related Topics From Javascript Call and generate CHM ” which patches the project and generate CHM output
Then follow these steps to execute the script file. IN STEP 5 YOU MAY WANT TO IMPORT A DIFFERENT SCRIPT extracted from the ZIP file as it pertains to your own situation (Webhelp or CHM output).
1. Backup the project, before proceeding further.
2. Download the zip file and extract the file.
3. Open RoboHelp 8, and go to view > Pods > Script Explorer. This will open a script explorer pod.
4. Right Click on the script explorer pod area and it will show a context menu, select Import menu option.
5. Select the script “Related Topics From Javascript Call and generate CHM.jsx” file which you extracted.
6. You are done with import of the script file.
7. Open the project where you want to generate the CHM file.
8. In the Script Explorer select the imported script file and Right click and select Run and this will run the script file.
Copy link to clipboard
Copied
Hello,
Thank you very much !
It is working perfectly (a bit long on large projects, you have the time to go and have a coffee, but it doesn't matter compared with the initial problem).
It is a very useful alternative, waiting for a Robohelp update fixing the bug (I reported the bug to Adobe).
Nathalie
Copy link to clipboard
Copied
Nathalie,
You are welcome. I'm glad it is working for you. I submitted a bug report as well, and I'm sure there are others. I'm not holding my breath on a fix, but hopefully they will fix it at some point.
Joe
Copy link to clipboard
Copied
Can't seem to get the script to execute. Just crashed Robo8.
This related topics defect has been around a while.
C'mon Adobe, let's get 'er done.
Copy link to clipboard
Copied
Script ran. Got "Bad token Manager" popup.
.
Copy link to clipboard
Copied
The more I look, the more confused I get.
It apears to me that, in some cases, the Related Topics control is translated into some code when published that looks something like this:
onclick="var e; if (parseInt(navigator.appVersion)>=4){e=event;} if (parseInt(navigator.appVersion) >=2 && typeof(PickupDialog_Invoke) == 'function') PickupDialog_Invoke(e,'','Claims','Claims.htm','Endorsement: Additional Interested Party','EndorsementAIP.htm','Endorsement: Basic Information','EndorsementBasicInfo.htm',...
etc.
This control works! But there is no evidence of a DesignerControl.
In other cases, the related topics OnClick that is in the source file is retained after publishing:
<a href="JavaScript:RelatedTopics.Click()"><img id="header_reltopics" src="../cssimgs/btn_related.gif" alt="btn_related.gif" style="border: none;" width="105" height="26" border="0" />
In this case, there is no DesignerControl and no replacement code, just a button that does nothing,.
I cannot ascertain why one publishes with one format and the other in a diff fashion.
This is blowing my mind. I'm the only one dealing with this?
Never did get the script to run that patches the ID...
Copy link to clipboard
Copied
I'd also like to know if this was fixed in Robo 9.
Copy link to clipboard
Copied
Hi Jack
Indeed I can confirm that at least my own copy (which is in trial mode) does not suffer the issue and works as expected.
Cheers... Rick ![]()
| Helpful and Handy Links RoboHelp Wish Form/Bug Reporting Form Begin learning RoboHelp HTML 7, 8 or 9 within the day! |
Copy link to clipboard
Copied
Kewl, Ricardo. Thanks!
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more