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

which areas of a topic can use conditional text?

Guest
Jun 09, 2011 Jun 09, 2011

Copy link to clipboard

Copied

Is there a list somewhere of the restrictions on when you can use conditional text?  it appears that you cannot use it in these areas:

* betweeen the <head> and </head> tags

* inside a javascript.

True?  If so, are there other areas as well?

thanks,

Jenny

Views

345

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 ,
Jun 10, 2011 Jun 10, 2011

Copy link to clipboard

Copied

You can apply tags to topics, topic content, TOC items and index items, stuff you can see without diving into the HTML. The head section is not seen in the Design Editor so you cannot apply tags there. Why would you want to?


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
Guest
Jun 10, 2011 Jun 10, 2011

Copy link to clipboard

Copied

Our help, which was originally developed outside of RH, includes custom toolbars that are built using javascript. The toolbars display dropdown lists for "overview," "how-to," and "see also" links to other topics.  The href links to the topics are parameters to the javascript, and they must be specified in the <head> section and so must be edited via the HTML editor.

Some of the <href> links should not display in certain cases, depending on which application the topic is used with.  I was hoping that I could just manually add the <?rh-cbt_start condition="xxx" ?> tag in the HTML code, but it doesn't work.

I realize that we could probably rework this to use RH related topic lists (this will be difficult but not impossible if we can figure out how to script).

If we do move the links into RH-supported lists of related topics, then can we conditionalize the various links in the RH related topics lists, so that some display and some do not?

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 ,
Jun 10, 2011 Jun 10, 2011

Copy link to clipboard

Copied

LATEST

Any content in a topic can have a tag applied. So if you simply want some links in a topic to appear and others not according to the build expression, then yes you can do that.


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
Resources
RoboHelp Documentation
Download Adobe RoboHelp