Applying conditional snippets within togglers

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
Post Reply
jlemon
Propeller Head
Posts: 20
Joined: Thu Nov 01, 2007 10:01 am
Location: Spokane, WA

Applying conditional snippets within togglers

Post by jlemon »

Is it possible to apply different conditions to a snippet, when that snippet is within several different togglers in the same topic? Or are conditions to snippets restricted to the entire topic?

For example, I have a topic with multiple togglers. Several togglers refer to the same table. I want the table's content to vary, depending on which toggler the user opens.

Can this be done with conditional text? If so, what is the procedure?
Or do I have to convert my togglers to individual topics?

Thanks,

-John Lemon
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Applying conditional snippets within togglers

Post by KevinDAmery »

AFAIK, conditions are included / excluded at the topic level rather than the snippet level, so if you included a snippet with snippet conditions multiple times in the same topic they would all end up with the same includes / excludes. So I think in your case you would have to point the togglers at different snippets to get the results you're describing.
Until next time....
Image
Kevin Amery
Certified MAD for Flare
jlemon
Propeller Head
Posts: 20
Joined: Thu Nov 01, 2007 10:01 am
Location: Spokane, WA

Re: Applying conditional snippets within togglers

Post by jlemon »

Thank you for your prompt reply!

I figured conditional snippets were limited to topics, but I thought it was worth asking. The people who haunt in these communities seem to be able to work around just about any problem.

But to utter the most expensive words in software development: "Wouldn't it be cool if it could do that?" I think it would. Even so, applying conditional snippets at the topic level is still pretty slick. I can certainly make do.

Thanks again,

-John
KevinDAmery
Propellus Maximus
Posts: 1985
Joined: Tue Jan 23, 2007 8:18 am
Location: Darn, I knew I was around here somewhere...

Re: Applying conditional snippets within togglers

Post by KevinDAmery »

Welllll, if ya wanna request a feature :D

https://www.madcapsoftware.com/bugs/submit.aspx
Until next time....
Image
Kevin Amery
Certified MAD for Flare
Post Reply