HTML5 search broken
-
KSUWildcat
- Propeller Head
- Posts: 13
- Joined: Thu Nov 08, 2007 7:49 am
HTML5 search broken
When I publish my flare project in HTML5 output the search feature does not work. You can type in a word, but no results show up. Did I miss something in the conversion from webhelp to HTML5?
-
straygoat
- Sr. Propeller Head
- Posts: 153
- Joined: Wed Apr 04, 2012 3:39 am
- Location: The Midlands, UK.
- Contact:
Re: HTML5 search broken
Have you tried doing this (taken from Flare's documentation):
Note: If you have problems with search working in HTML Help output, you might need to register a dll file called "RegisterItcc.bat." This may occur if you previously had a program such as RoboHelp installed and then uninstalled it. As a result, the dll file was unregistered. Following are the necessary steps for registering the dll file, depending on whether you are working in 32-bit or 64-bit.
To register the dll in Windows:
In Windows Explorer find and double-click the following file:
C:\Program Files\MadCap Software\MadCap Flare V6\Flare.app\Resources\Bin\RegisterItcc.bat
To register the dll in 32-bit Windows 7:
1. In Windows Explorer navigate to the Resources/Bin folder where you installed Flare (e.g., C:\Program Files\MadCap Software\MadCap Flare V6\Flare.app\Resources\Bin).
2. Right-click on RegisterItcc.bat and select the option to run it as an administrator.
To register the dll in 64-bit Windows 7:
1. In Windows Explorer navigate to C:\WINDOWS\system32.
2. Right-click on the file cmd.exe and select the option to run it as an administrator. The command prompt window opens.
3. At the command prompt, type the following and press Enter:
"C:\Program Files (x86)\MadCap Software\MadCap Flare V6\Flare.app\Resources\bin"
4. Type RegisterItcc.bat and press Enter.
Note: If you have problems with search working in HTML Help output, you might need to register a dll file called "RegisterItcc.bat." This may occur if you previously had a program such as RoboHelp installed and then uninstalled it. As a result, the dll file was unregistered. Following are the necessary steps for registering the dll file, depending on whether you are working in 32-bit or 64-bit.
To register the dll in Windows:
In Windows Explorer find and double-click the following file:
C:\Program Files\MadCap Software\MadCap Flare V6\Flare.app\Resources\Bin\RegisterItcc.bat
To register the dll in 32-bit Windows 7:
1. In Windows Explorer navigate to the Resources/Bin folder where you installed Flare (e.g., C:\Program Files\MadCap Software\MadCap Flare V6\Flare.app\Resources\Bin).
2. Right-click on RegisterItcc.bat and select the option to run it as an administrator.
To register the dll in 64-bit Windows 7:
1. In Windows Explorer navigate to C:\WINDOWS\system32.
2. Right-click on the file cmd.exe and select the option to run it as an administrator. The command prompt window opens.
3. At the command prompt, type the following and press Enter:
"C:\Program Files (x86)\MadCap Software\MadCap Flare V6\Flare.app\Resources\bin"
4. Type RegisterItcc.bat and press Enter.
Craig Wright
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
Re: HTML5 search broken
That's for HTML Help, but isn't the question about HTML5?
-
straygoat
- Sr. Propeller Head
- Posts: 153
- Joined: Wed Apr 04, 2012 3:39 am
- Location: The Midlands, UK.
- Contact:
Re: HTML5 search broken
Well spotted!
Craig Wright
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
Freelance Technical Author and SEO Copywriter
Midlands, UK
http://www.straygoat-technicalauthor.co.uk
Re: HTML5 search broken
Hard to answer this without more information. Does anything else seem to be broken? Are you launching HTML5 help the same way (on the same domain/server) as you used to launch webhelp? When you publish, is Flare copying all of the search##.xml and search##.js chunks correctly?KSUWildcat wrote:When I publish my flare project in HTML5 output the search feature does not work. You can type in a word, but no results show up. Did I miss something in the conversion from webhelp to HTML5?
-
doc_guy
- Propellus Maximus
- Posts: 1979
- Joined: Tue Nov 28, 2006 11:18 am
- Location: Crossroads of the West
- Contact:
Re: HTML5 search broken
Also, it sounds like you are using a project you created pre-Flare 8. Can you create a sample project and test the output? Do you get any errors or warnings during the build process? Does anything display on the screen when you search? (Check the bottom left corner to see if there are any javascript errors.) I assume you have JavaScript enabled.
