Empty Search Favorites Image

This forum is for all Flare issues not related to any of the other categories.
Post Reply
Lucia
Propeller Head
Posts: 58
Joined: Mon Oct 27, 2008 6:22 am
Location: Blumenau SC Brazil

Empty Search Favorites Image

Post by Lucia »

In Skin > Styles > Control, there's the option "EmptySearchFavoritesLabel", where I can change the text shown when there is no Favorite Search saved. Besides this text, there's an image, which I would like to change. But I can't find where to do it. Can anybody tell me the answer to this issue?

Thanks a lot.
You do not have the required permissions to view the files attached to this post.
Lucia
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Empty Search Favorites Image

Post by LTinker68 »

Unfortunately, that's an after-build modification. Or, if you're gutsy, you can make the change to the Flare program files so that the same image is used for all projects.

For a single project, you'd need to build the output, then go to the Skin\Images folder of the output, and overwrite the FavoritesBlank.gif image that's in there. You'd need to do that every time you build.

Make sure you submit a feature request at http://www.madcapsoftware.com/bugs/submit.aspx to be able to select a different icon from within the skin.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Lucia
Propeller Head
Posts: 58
Joined: Mon Oct 27, 2008 6:22 am
Location: Blumenau SC Brazil

Re: Empty Search Favorites Image

Post by Lucia »

Thanks, Lisa.

I'm gonna be gutsy and change the code :) . Do you know what file would I have to change and how?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Empty Search Favorites Image

Post by LTinker68 »

I'm not sure if this is the right spot, but go to C:\Program Files\MadCap Software\MadCap Flare V4\Flare.app\Resources\WebHelp\Default.flwht\Images (assuming that you installed to the default location). There is a FavoritesBlank.gif file there. Make a copy of that file as a backup, then save your version of the file to that location. Note that your file may have to be the same dimensions because the dimensions may be specified in Javascript somewhere instead of being dynamically pulled from the image file, so if your image looks distorted, then you know you need to make it the same dimensions as the original.

I'd delete the output folder before building, too, just to make sure it picks up the new graphic.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Lucia
Propeller Head
Posts: 58
Joined: Mon Oct 27, 2008 6:22 am
Location: Blumenau SC Brazil

Re: Empty Search Favorites Image

Post by Lucia »

Thanks, Lisa, it worked.

As you said, I had to change the file dimensions.
Lucia
Post Reply