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

Conditional Build Tags automatically appearing

Enthusiast ,
Jan 09, 2012 Jan 09, 2012

Copy link to clipboard

Copied

I'm running RH 9.0.2.271 on Win 7, 64 bit machine.

I have this procedure in the WYSIWYG editor, and I want to mark the yellow icon (highlighted in yellow below) with the Online conditional build tag (green hash highlight):

1-9-2012 1-14-14 PM.jpg

So, I select that CBT, and so far everything looks fine in the WYSIWYG editor.

1-9-2012 1-14-52 PM.jpg

However, if I go to the HTML editor to check the HTML and then go back to the WYGIWYG editor, it's screwed up and looks like this:

1-9-2012 1-20-29 PM.jpg

Notice that the conditional online text is automatically covering steps 4 and 5 in the procedure. I thought this bug was supposedly exterminated in build 9.0.1, but seems to be happening... for me anyway. Any solutions to this? I've tried numerous ways of applying the CBT to that icon and it still ends up spanning the following two paragaphs.

Views

2.1K

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
Enthusiast ,
Jan 09, 2012 Jan 09, 2012

Copy link to clipboard

Copied

Hmmm. Wait a second. I just fixed the topic up again (for the umpteenth time) and this last time instead of going to the HTML editor and back again, I decided to close down and reopen the topic in the WYSIWYG editor. Now if I go to HTML editor and back again the topic looks fine. So... go figure.

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
Adobe Employee ,
Jan 09, 2012 Jan 09, 2012

Copy link to clipboard

Copied

Hello again ,

Thais one looks Strange.

I need to test this one out to understand this behavior.Though you have found a work around, but I would prefer to understand the reason (with your help).

I assume that you do not make any changes to any content or tag when you go to HTML view, Right?

Is this behaviour replicable one other topics of your project?

Can you share the HTML of this topic?

One important question, is this the same project generated by decompiling the CHM file ?

Thanks,

Anjaneai

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
Enthusiast ,
Jan 09, 2012 Jan 09, 2012

Copy link to clipboard

Copied

Anjaneai Srivastava wrote:

I assume that you do not make any changes to any content or tag when you go to HTML view, Right?

Correct. I just switched from one view and then back. But even when I made changes in the HTML editor, it came back in WYSIWYG. The HTML for the entire topic is quite long, but here's the bit in question, at least after the workaround:

<li class="p-BodyText"><p class="BodyText">Access the <b>Auto Feature</b>
dialog box (<b>Insert | Feature | Auto<span style="font-weight: normal;">)</span></b>
<script language="VBScript" style="x-condition: Online;" type="text/javascript">//<![CDATA[

On Error Resume Next

MenuStr = MapCtrl.GetHelpMap(26007) ' ID_INSERT_AUTO_CIRCLE

//]]></script><?rh-cbt_start condition="Online" ?><a

href="javascript://" onclick="MyRoadMap(MenuStr, 'no', event.screenX, event.screenY)"><?rh-cbt_start condition="Online" ?><img
src="../images/i_chiclet.gif" alt="Display Menu Roadmap" title="Display Menu Roadmap"
width="14" height="14" border="0" /><?rh-cbt_end ?></a><?rh-cbt_end ?><?rh-cbt_start condition="Online" ?>
<?rh-cbt_end ?>for either circle or cylinder auto features.</p></li>
<li class="p-BodyText"><p class="BodyText">With the dialog box open,
click the mouse, and drag a box around those feature types for which
you want to create auto features. Release the mouse button. PC-DMIS
will display the <span class="hcp4">CAD Select</span> dialog box,
showing the number of objects selected.</p></li>
<li class="p-BodyText"><p class="BodyText">Click <span class="hcp4">Create</span>.
Based on the objects selected PC-DMIS will generate multiple auto
features of the selected type.</p></li>

</ol>

<?rh-cbt_start condition="Online" ?><p class="BodyText"><a class="dropspot"

href="javascript:TextPopup(this)"
id="a21"><?rh-cbt_start condition="Online" ?><img
src="../i_blue.jpg" alt="See a brief demo on box selecting and creating multiple auto features"
title="See a brief demo on box selecting and creating multiple auto features"
style="border: none;" width="30" height="30" border="0" /><?rh-cbt_end ?></a><script
type="text/javascript" language="JavaScript1.2">//<![CDATA[

Anjaneai Srivastava wrote:

Is this behaviour replicable one other topics of your project?

I certainly hope not. It's a very large project (2700+ topics) so finding the issue again while likely is going to be a bit of a pain. However, I will be testing it soon. If I find anything, I'll let you know.

Anjaneai Srivastava wrote:

One important question, is this the same project generated by decompiling the CHM file ?

No. This is my original English project and was converted from RH 7.

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
Enthusiast ,
Jan 09, 2012 Jan 09, 2012

Copy link to clipboard

Copied

Sorry about the tables in the code above. That's just how it posted for some reason. Not sure why.

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
Enthusiast ,
Jan 10, 2012 Jan 10, 2012

Copy link to clipboard

Copied

Anjaneai Srivastava wrote:

Hello again ,

Thais one looks Strange.

I need to test this one out to understand this behavior.Though you have found a work around, but I would prefer to understand the reason (with your help).

I assume that you do not make any changes to any content or tag when you go to HTML view, Right?

Is this behaviour replicable one other topics of your project?

Can you share the HTML of this topic?

One important question, is this the same project generated by decompiling the CHM file ?

Thanks,

Anjaneai

Anjaneai, it's happening again on a separate help topic.

1-10-2012 11-10-53 AM.jpg

I sent you a private message with info on how to download and access the project. The bad thing about this topic is my workaround described above doesn't seem to work. I tried removing online cbt, saving the topic, closing it down. When I reopen the topic the bad cbt is still visible. So not sure how to resolve this.

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
Enthusiast ,
Jan 16, 2012 Jan 16, 2012

Copy link to clipboard

Copied

So, does anyone know if a way to get around this problem? My above workaround (where I saved my changes to the topic after removing the conditional text and then closed down the topic) doesn't seem to work in all cases.

Also is there a way to submit this bug to Adobe so it gets on their radar?

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
LEGEND ,
Jan 16, 2012 Jan 16, 2012

Copy link to clipboard

Copied

Jared, each time I post there is usually a link to the Bug Reporting form in my sig lines.

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

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
Enthusiast ,
Jan 16, 2012 Jan 16, 2012

Copy link to clipboard

Copied

Thanks Rick. I've submitted a bug report.

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
Enthusiast ,
Jan 23, 2012 Jan 23, 2012

Copy link to clipboard

Copied

Btw, here's the response I got back from support on this issue, in case anyone else is struggling with it:

Thanks for reporting the issue. It is reproducible and our engineering team will look into the issue.

You can use any of the below listed workarounds:

- CBT can be applied to complete paragraph, it doesn't create any problem with that, so, you can create two paragraphs with same content and one with Script and another without script and can apply the CBT to complete paragraph accordingly.

- Instead of using script tag, you can use onLoad event in the <a> tag itself.

- Instead of applying CBT on script tag, you can enclose the code with <a> tag within a <span> tag with some id and then can write the same script somewhere else in page with reference to span tag. E.g. <? rh-cbt_start condition="Online" ?><span id="script1"><a href="javascript://" onclick=""/></span><?rh-cbt_end ?>

- You can handle the conditional display through script only.

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 ,
Jan 23, 2012 Jan 23, 2012

Copy link to clipboard

Copied

Thanks for posting that response.


See www.grainge.org for RoboHelp and Authoring tips

@petergrainge

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
New Here ,
Jul 24, 2018 Jul 24, 2018

Copy link to clipboard

Copied

LATEST

I'm experiencing a similar issue but in a much more complex way. I think it might have to do with compatibility - I'm running RH 9 on Windows 10. But it's gotten to the point where I don't trust the output created from build tags.

My project has about 700 topics, and uses about 25-30 different build tags - applied at a topic, paragraph and character level.

When I experience these issues, it's usually after I make the change with the CBT and close the project. When I reopen it at a later date I see the following kinds of issues:

- I applied a CBT to a paragraph or word. Later on that CBT is now applied to several other paragraphs (as original poster had, however CBTs aren't applied to scripts, in most cases)

- I open a topic, see the misapplied CBTs, close the topic and reopen, and CBTs are correctly applied

- I try to remove a CBT (by highlight text and both selecting the Apply CBT from the context menu and opening the CBT dialog). The change won't take place until I go into the HTML and delete the offending CBT.

- I open a topic and see that the CBT is applied to random parts of a paragraph. In my screenshot you can see that the blue CBT is not applied to the entire paragraph. Due to the sensitivity of the material I work with I can't show you the paragraph, but it's in the form of

     Term. Definition of the term.

The term is bold and blue and the definition is plain text. I know this CBT is wrong, because the only way that makes sense is for the entire paragraph to have the CBT. Otherwise, the output would show a term with no definition (or vice versa).RH CBT.png

- CBTs for table rows or contents within cells are inconsistent. Here you can see that the output would create and empty table row, as all but one cell only has the CBT applied to the text, as opposed to the entire cell (which would omit the row on output).

RH CBT2.png

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
LEGEND ,
Jan 09, 2012 Jan 09, 2012

Copy link to clipboard

Copied

Hi Jared

One thing I notice is that in each case you are tagging what appears to be a script. This is indicated by the red square. So I'm thinking that perhaps RoboHelp is maybe getting confused by the script tags. That would seem to explain why suddenly everything up to the second script is getting tagged.

Just a thought... 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

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
Enthusiast ,
Jan 09, 2012 Jan 09, 2012

Copy link to clipboard

Copied

Captiv8r wrote:

Hi Jared

One thing I notice is that in each case you are tagging what appears to be a script. This is indicated by the red square. So I'm thinking that perhaps RoboHelp is maybe getting confused by the script tags. That would seem to explain why suddenly everything up to the second script is getting tagged.

Just a thought... Rick

Rick, it's possible. A script is embedded in the image, so that when it's clicked on, a javascript is launched.

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