|
(That concludes the work you need to do in Fusion. The next steps involve the files generated by Zoom.
7. Open the following files in an editor (PHPNotepad available on our Resources page works well):
Zoom 3 Only
In the search.php file, comment out the following lines (right after the line "// Parameter initialisation" - near line 47) by inserting two slashes at the beginning of each line. Like so: //
if (isset($Charset) && strlen($Charset) > 0) header("Content-Type: text/html; charset=" . $Charset);
Zoom 4 Only
Manual editing of the search.php file is no longer needed. Instead, click on Configure in Zoom 4. Go to the advanced tab and in the Miscellaneous Section check: "Disable charset enforcing on search script." This option causes Zoom to generate search.php without the lines above.
IMPORTANT: be sure to set the encoding in Zoom's Indexer Configuration to match the Character set selected for your site in Fusion. [Western European (ISO-8859-1) by default]
In the search_template.html file, wipe out everything except the line that says:
<!--ZOOMSEARCH-->
Save the changed files. Repeat this step each time you re-index the site.
8. Publish your sitesearch.php page from Fusion.
9. Using an FTP program, ftp the files created by Zoom (including those you edited above) to the same directory as your sitesearch.php page. (the html directory if you publish by asset type)
|