Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Related Topics control via "JavaScript:RelatedTopics.Click" broken in RH8

Engaged ,
Apr 08, 2009 Apr 08, 2009

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.

  • WebHelp
  • RH8 (trial)
  • Project upgraded from RH6

Any hints or suggestions? I'd like to keep using this feature if at all possible.

Thanks,

G.

10.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 26, 2009 Oct 26, 2009

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 26, 2009 Oct 26, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 26, 2009 Oct 26, 2009

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

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jun 24, 2010 Jun 24, 2010

Still broken since Oct. '09.

I sent another bug report.

Sad.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 24, 2010 Jun 24, 2010

Perhaps try some of the things suggested in this thread. The errors sort of sound similar.

javascript:;

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jul 05, 2010 Jul 05, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 23, 2011 Feb 23, 2011

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/.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 15, 2009 Dec 15, 2009

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 12, 2010 Jan 12, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 12, 2010 Jan 12, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 14, 2010 Jan 14, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 14, 2010 Jan 14, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 24, 2010 Mar 24, 2010

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 24, 2010 Mar 24, 2010

Script ran. Got "Bad token Manager" popup.

.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 24, 2010 Mar 24, 2010

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) &gt;=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...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 07, 2011 Mar 07, 2011

I'd also like to know if this was fixed in Robo 9.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 07, 2011 Mar 07, 2011

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!

Adobe Certified RoboHelp HTML Training

SorcerStone Blog

RoboHelp eBooks

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 07, 2011 Mar 07, 2011
LATEST

Kewl, Ricardo. Thanks!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp