Page 1 of 1

Making Related Topics control conditional

Posted: Fri Jul 23, 2010 11:54 am
by Ineffable
I use the Concept Links (Related Topics) in my WebHelp output. However, I am trying to prevent their presence in my Mobile output. However, I am not able to easily 'condition' them out of the Mobile output.

I can right-click on a Related Topics control on each topic. Considering I have hundreds of topics, I can't possible go through each page to condition out every occurrence of the control.

Is there a way?

Re: Making Related Topics control conditional

Posted: Fri Jul 23, 2010 2:30 pm
by LTinker68
First, save a copy of the project, just to be safe.

Do a find-and-replace within the entire project in Flare, with "Find in source code" enabled, and have it search on...

Code: Select all

<MadCap:relatedTopics>
... and replace it with...

Code: Select all

<MadCap:relatedTopics MadCap:conditions="Default.PrintOnly">
... where Default is the name of the conditional tag set and PrintOnly is the specific condition you want applied.