Making Related Topics control conditional

This forum is for all Flare issues related to the WebHelp Mobile target and skins
Post Reply
Ineffable
Sr. Propeller Head
Posts: 148
Joined: Mon Jan 15, 2007 3:08 pm
Location: Bay Area, CA

Making Related Topics control conditional

Post 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?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Making Related Topics control conditional

Post 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.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply