Related Topics Control and Conditions

This forum is for all Flare issues not related to any of the other categories.
Post Reply
sarrants
Propeller Head
Posts: 86
Joined: Tue Sep 18, 2007 6:04 am
Location: South Burlington, VT

Related Topics Control and Conditions

Post by sarrants »

I've run into a problem using the Related Topics control and conditional text. I have some topics called "Installing DensitaNeurolucidaStereo Investigator" and "Moving DensitaNeurolucidaStereo Investigator". Each product name is a different condition, so I can use just one set of files, so the titles might be "Installing Neurolucida" or "Moving Neurolucida".
However, if I use the topic name as an entry in a Related Topics Control, the CHM shows the entire title--not conditionalized--in the Related Topics list.

Is there a way to show the conditionalized text?
The things that we plan and measure are the things that get done.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Related Topics Control and Conditions

Post by LTinker68 »

A better option would be to use a variable called ProductName (or whatever you want to call it). Set its value in the variable set to one of the products. Then you have two targets, and in each target, you specify the actual product name to use with that target. So if product 1's name is Densita and product 2's name is Neurolucida, you set ProductName to Densita in the project's variable set. When you open TargetDensita (guessing on the name) and go to the variable set in the target, you leave ProductName set to Densita. In TargetNeurolucida, you go to the variable set in the target and change the ProductName variable to Neurolucida. As you're authoring in Flare you'll always see Densita used as the name, but when you generate the TargetNeurolucida, it'll automatically swap out all instances of the name Densita with the name Neurolucida.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
sarrants
Propeller Head
Posts: 86
Joined: Tue Sep 18, 2007 6:04 am
Location: South Burlington, VT

Re: Related Topics Control and Conditions

Post by sarrants »

Thanks, Lisa--I'll make the changes to the source files with your suggestions.

steve arrants
The things that we plan and measure are the things that get done.
Post Reply