Search and Togglers

This forum is for all Flare issues not related to any of the other categories.
Post Reply
jacortes
Propeller Head
Posts: 45
Joined: Thu Oct 16, 2008 1:11 pm

Search and Togglers

Post by jacortes »

When you search, topics that contain the term appear even if the text is "hidden" in a toggler. Is there a way to have the toggler automatically open so you can see where the term is? It looks like Flare's own Help system solved this.

Thanks.
JohnB
Propeller Head
Posts: 50
Joined: Mon Nov 09, 2009 12:17 pm

Re: Search and Togglers

Post by JohnB »

Well now, I could start a fresh discussion, but found this perfectly worthy unused one.

Did you, or anyone else, figure out how to get togglers to behave as they do in MadCap's own Help (automatically expand when they contain a search term)? I don't see any relevant options in the WebHelp Plus target or skin. Is it Voodoo, and if so, is there a good Quick Start or Dummies guide?

Thanks! - John
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Search and Togglers

Post by NorthEast »

JohnB wrote:Well now, I could start a fresh discussion, but found this perfectly worthy unused one.

Did you, or anyone else, figure out how to get togglers to behave as they do in MadCap's own Help (automatically expand when they contain a search term)? I don't see any relevant options in the WebHelp Plus target or skin. Is it Voodoo, and if so, is there a good Quick Start or Dummies guide?

Thanks! - John
For WebHelp, any term in hidden text will be revealed by a search. It does this by default, and there isn't an option to switch this on/off.

Are you saying it doesn't work for you?
JohnB
Propeller Head
Posts: 50
Joined: Mon Nov 09, 2009 12:17 pm

Re: Search and Togglers

Post by JohnB »

Yes, that's what I'm saying, it doesn't work for us. Two different projects, WebHelp Plus, Flare 7, affecting both Search and Quick Search.

If I expand the toggler, the search term is highlighted, so search is working, just not working as we'd like!
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: Search and Togglers

Post by Andrew »

JohnB wrote:Yes, that's what I'm saying, it doesn't work for us. Two different projects, WebHelp Plus, Flare 7, affecting both Search and Quick Search.

If I expand the toggler, the search term is highlighted, so search is working, just not working as we'd like!
Does this happen in all browsers, or just one or two?
Flare v6.1 | Capture 4.0.0
JohnB
Propeller Head
Posts: 50
Joined: Mon Nov 09, 2009 12:17 pm

Re: Search and Togglers

Post by JohnB »

Right now, the company is on IE8. No other browsers are allowed to be on users' machines. If they were, it definitely would be worth comparing!

Also, I've tried plain old WebHelp and see the same behavior. I did, though, just discover one toggler that DOES automatically expand. Comparing the one that works and those that don't, they seem to be identically constructed.
i-tietz
Propellus Maximus
Posts: 1219
Joined: Wed Oct 24, 2007 4:13 am
Location: Fürth, Germany

Re: Search and Togglers

Post by i-tietz »

Togglers, expanding text and dropdowns are heavily equipped with javascript. This sounds like it's a security setting problem.

Other alternative: Maybe it's not the thing itself, but the position (of the toggler that opens) that makes the difference.
Inge____________________________
"I need input! - Have you got input?"
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: Search and Togglers

Post by Andrew »

If you have support agreement, I'd contact MadCap that way. If not, report it as a bug.
Flare v6.1 | Capture 4.0.0
JohnB
Propeller Head
Posts: 50
Joined: Mon Nov 09, 2009 12:17 pm

Re: Search and Togglers

Post by JohnB »

Yep, I was just hoping it was an option I was overlooking.

I leave you with this: I did a view source on the Flare Help, and they apparently use drop downs, not togglers (though my isolated sampling may not be universal). So, I created a couple of drop downs and did a search and lo and behold, they automatically opened if they contained the search term.

So right now, I am believing that if you want the Help to show search terms found in drop downs, use...um...dropdowns. Togglers are hit and miss when it comes to this behavior, though by far, they are a miss (at least for IE8, with what I believe are default security settings).

Ask me if we want to convert all of our togglers to drop downs. :roll: (I should mention, another writer claims that in her project, drop downs do not open on a search...grrr.)
NorthEast
Master Propellus Maximus
Posts: 6426
Joined: Mon Mar 05, 2007 8:33 am

Re: Search and Togglers

Post by NorthEast »

In my experience with Flare WebHelp (all versions, with all browsers), the search results will reveal any hidden text. That includes drop-downs, togglers, and even any text with the display:none property.

That's how it normally works, so it'd be interesting to know what causes this.
Post Reply