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

"droptext" and RH2022

Community Beginner ,
Jun 06, 2024 Jun 06, 2024

Copy link to clipboard

Copied

I upgraded from Rh9 to RH2019 and I am generating Microsoft HTML Help.

With Rh2019 I can click on a small image and get a larger, different image to appear but this doesn't work in RH2022.  Any help anyone can give me will be much appreciated.

Below is the extract from the HTMl file and two pictures.

First picture is of what the help looks like before clicking on camera image. 2nd os of what is looks like when it worked.

 

<li class="p">
      <p>Select <span style="font-weight: bold;">Configure</span> &gt;  <span style="font-weight: bold;">Calculations</span> &gt; <span style="font-weight: bold;">Event Activated</span> from the main menu. <a class="dropspot" data-rhwidget="DropSpot" href="#"><img alt="" border="0" height="13" src="assets/images/Images/CAMERA ICON.JPG" style="border: none;" width="16" /></a></p>
      <div class="droptext" data-targetname="POPUP205435206">
        <p><img alt="" border="0" height="388" src="assets/images/Images/EventCalculatedCalcsList.jpg" style="border: none;" width="360" /></p>
      </div>
    </li>

 

help1.pnghelp2.png

TOPICS
Classic

Views

539

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Jul 18, 2024 Jul 18, 2024

What I was trying to say was that my 2019 Project upgraded correctly so it could be the problem you are seeing is how you upgraded and that is not clear in the thread.

 

What you need to try is opening RoboHelp Classic and opening your RoboHelp 9 project that way. You simply point RoboHelp Classic to the RoboHelp 9 project. Back that up first though.

 

I doubt that 2022.4 will make a difference but it is what I used so it's worth a try. 

 

You don't use the Import settings and if that is what yo

...

Votes

Translate

Translate
Community Expert ,
Jul 12, 2024 Jul 12, 2024

Copy link to clipboard

Copied

I just created a 2019 Classic project to 2022.4 and the dropdowns are working correctly. This makes me suspect you upgraded from RoboHelp 9 to 2019 New UI rather then to 2019 Classic and then the new UI.

 

Subsequent updates may mean you cannot in practice go back because of later content changes but it would still be helpful to finding a solution to know if that was the underlying problem.

 

Please go back to your last Classic project and upgrade it using 2022.4. The upgrade option is on the File menu.

 

Meantime I will continue to look into fixing you new UI project as discussed.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 ,
Jul 12, 2024 Jul 12, 2024

Copy link to clipboard

Copied

This is where I have got to.

The Upgrade Process

I suspect the root problem is how you upgraded. Upgrading the proscribed method would have given you a 2019 Classic project and for me that upgraded to 2022.4 correctly, working dropdowns.

Fixing What You Have

If too many changes have been made to the content to go back, then we have to fix the code. First see your code in Classic and in 2022 and my code in 2022.

Your Classic Code

<a class="dropspot" data-rhwidget="DropSpot" href="#"><img alt="" border="0" height="13" src="assets/images/Images/CAMERA ICON.JPG" style="border: none;" width="16" /></a>:</p>
  <div class="droptext" data-targetname="POPUP201100371"">
    <p><img alt="" border="0" height="375" src="assets/images/Images/DNP3AIModule.jpg" style="border: none;" width="450" /> <img alt="" border="0" height="405" src="assets/images/Images/DNP3BIModule.jpg" style="border: none;" width="450" /></p>
    <p class="INDENT-1" style="font-style: italic;">Example Module Properties Dialogs</p>
  </div>

Your Upgrade Code

<a class="dropspot" data-rhwidget="DropSpot" data-target="drop-down" href="#"><img alt="" border="0" height="13" src="assets/images/Images/CAMERA ICON.JPG" style="border: none;" width="16" /></a>:</p>
  <div class="droptext" data-targetname="drop-down">
    <p><img alt="" border="0" height="375" src="assets/images/Images/DNP3AIModule.jpg" style="border: none;" width="450" /> <img alt="" border="0" height="405" src="assets/images/Images/DNP3BIModule.jpg" style="border: none;" width="450" /></p>
    <p class="INDENT-1" style="font-style: italic;">Example Module Properties Dialogs</p>
  </div>


My Upgrade Code
 This is just to show you the difference between your upgrade and mine. It still works using the POPUP references.

 <p><a class="dropspot" data-rhwidget="DropSpot" data-target="POPUP612658455" href="#"><img alt="" border="0" src="../assets/images/arrowdown2.gif" style="border: none;" />Click here</a></p>
  <div data-targetname="POPUP612658455">
    <p>Dropdown content</p>
  </div>
 ****************************************

There are two changes to get your code to work if a correct upgrade is not possible.

CHANGE ONE

Find

<a class="dropspot" data-rhwidget="DropSpot"

Replace

<a class="dropspot" data-rhwidget="DropSpot" data-target="drop-down"

That can be done using RoboHelp Find and Replace

CHANGE TWO

Find

<div class="droptext" data-targetname="POPUP201100371"">

Replace

 <div class="droptext" data-targetname="drop-down">

but where multiple drop-downs will become drop-down, drop-down2, drop-down3 etc

The difficulty here is find can be done with a regular expression and the replace can also be done that way. However, importantly it would not include the numbering in topics with more than one drop-down.

That can be done with a script but that is outside my capabilities. Could your developers help on that?

****************************************

 

If they put the following into ChatGPT, they will get an answer that I think will make sense to them.

 

I need a regular expression that finds POPUP201100371" and replaces with drop-down. The first replace will be drop-down and then each replace will have a number starting drop-down2 and incrementing by 1 each time.

 

Let me know if upgrading again as described is an option and if not whether your developers can help. What I can do is replace all with drop-down and then you manually add the numbers. That would of course require sharing the 2022 project.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 Beginner ,
Jul 17, 2024 Jul 17, 2024

Copy link to clipboard

Copied

Thank you for your helpful comments. When I started on the path to upgrading from RH9 to RH2022, I was advised by someone at Adobe not to go straight from RH9 to RH2022 and they advised me to go to RH2019 first. I did that on a trial version and I thought I was following their instructions but, not being familiar with RH2019 and upgrading in general, of course I could well have not done it properly.

The good news is that no changes to the content have been done to our help (spread acorss 28 projects). The only changes have been to upgrade the version of RH.

I shall shelve the work I have done on the upgrade and try going straight from RH9 to RH2022.

I will let you know how that goes. 

I do have people who could write the script for me to correct the drop-downs if we need to do that. That said, I found a problem last week with some conditional 'stuff', again associated with a drop-down, where a different picture was meant to appear according to "Online" or "Print", but in the project converted to RH2022, both pictures appeared. 

Votes

Translate

Translate

Report

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 Beginner ,
Jul 17, 2024 Jul 17, 2024

Copy link to clipboard

Copied

I took one of the smaller projects and upgraded from the RH9 project to RH2022. This was using version 2022.3.93

I am not sure that 2022.4 is available to me through the business but I guess it would be available on a trial thourgh Adobe.

I'm sorry to day that the problem of the drop-down pictures from the camera icon still persists. I note that the 'Import settings' in my version of RH2022 only shows the option of going from RH2019 or RH2020.

Votes

Translate

Translate

Report

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 ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

Content removed. Right answer in the wrong thread!

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 Beginner ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

Content removed by moderator as it was in response to a mispost.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Votes

Translate

Translate

Report

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 Beginner ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

Content removed by moderator as it was in response to a mispost.

Votes

Translate

Translate

Report

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 ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

What I was trying to say was that my 2019 Project upgraded correctly so it could be the problem you are seeing is how you upgraded and that is not clear in the thread.

 

What you need to try is opening RoboHelp Classic and opening your RoboHelp 9 project that way. You simply point RoboHelp Classic to the RoboHelp 9 project. Back that up first though.

 

I doubt that 2022.4 will make a difference but it is what I used so it's worth a try. 

 

You don't use the Import settings and if that is what you have been doing, that is also a likely cause of the problems.

 

Go to the File menu to upgrade from Classic.

 

image.png

 

Try that. For 2022.4 go to the Help menu as long as you have admin rights.

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 Beginner ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

Yes, I was actually using the 'upgrade' option. I see what you are saying about converting from RH2019 working, but I think that is not where the problem lies. It is starting with an RH9 project and trying to convert that where I get a problem. I am concentrating on working out the fastest way to make the changes that I know will make the dropdown pictures work rather than trying to figure out why the conversion seems to have not worked correctly.

Votes

Translate

Translate

Report

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 ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

You have marked this post as correct. Does that mean that you have upgraded in the way I described (via the File menu) and the dropdowns are now working?

________________________________________________________

My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 Beginner ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

Yes, and no. I upgraded using the way you described and the dropdown pictures didn't work. I thought it was about time I did some upvoting or marking things correct since I have not been doing much of that at all!

Votes

Translate

Translate

Report

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 ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

I really don't think you are going to find any upgrade path that works. I have tried them without success. I think the problem is back in the RoboHelp 9 version that works in later Classic versions but does not upgrade.

 

I have given you fix options. Either bite the bullet on those or see if Adobe Support can help. Give them a link to this thread so that they can see what has been tried. 

 

See https://helpx.adobe.com/contact/enterprise-support.other.html#robohelp for your Adobe Support options. The email link tcssup@adobe.com is recommended as it reaches a team dedicated to Technical Communication Suite products including RoboHelp.

 

Let us know how you end up fixing it. 

________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 Beginner ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

I completely agree with you about not finding an upgrade path that will work automatically.  Thanks for bearing with me through this. I will let you know how I get on with the upgrade though I'm not sure it is worth the hassle that I expect there would be if I try to get Adobe Support to help.

Votes

Translate

Translate

Report

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 ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

Why would you expect hassle? It's now at the stage where nothing else has worked so without any disrespect to them, they are your last hope of an easy solution. 

________________________________________________________
My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

 

 

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

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 Beginner ,
Jul 18, 2024 Jul 18, 2024

Copy link to clipboard

Copied

LATEST

Maybe I'm just too cynical about these things. Must try not to be.

Votes

Translate

Translate

Report

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