SYMPTOMS
You want to hide unwanted columns from the Web Client's results page to ease surfing through results.
CAUSE
Not applicable
RESOLUTION
For custom (XML Wrapper and non-module) fields:
- Start ZyIndex.
- Click on the "Define Fields" icon in the upper ribbon.
- Double click the custom field you want to modify.
- In the "Search" tab of the "Edit Field Definition" window, remove the tick from the "Show in result list" option. A warning message may appear, just press OK and close the "Define Fields" window.
- No other actions should be required, you can go back to your Web Server window on your browser and the results page for the next search performed won't show the column.
For default fields like 'Rank', 'Hits' or 'Hitdensity' customization is required. If you are the Microsoft IIS Administrator, you can follow the steps below:
- Navigate to the "C:\inetpub\wwwroot\WEB_CLIENT_NAME\styles\default" folder, where WEB_CLIENT_NAME is the HTTP alias of the Web Client you want to modify.
- Make a back up of the "user.css" file.
- Edit the "user.css" file in a text editor (i.e. Notepad).
- Find the string "/* columns */" (without double quotes) which initiates the columns section. In this section you will find the following keys that can be uncommented to hide the corresponding column in the results page.
.zy_result_rank { /* display: none; */ }
.zy_result_info { /* display: none; */ } /* filename in toc */
.zy_result_actions { /* display: none; */ }
.zy_result_hits { /* display: none; */ }
.zy_result_hitdensity { /* display: none; */ }
.zy_result_filename { /* display: none; */ } /* filename in search results */
.zy_result_email { /* display: none; */ } /* e-mail column in search results with e-mail and attachment icons */
i.e. - replace ".zy_result_hits { /* display: none; */ }" with ".zy_result_hits { display: none; }"
Note: It may be necessary to clear the browser's cache for the change to take effect.
APPLIES TO
6.1; 6.1 Service Pack 1; 6.1 Service Pack 2; 6.2; 6.2 Service Pack 1; 6.2 Service Pack 2; 6.3
Comments
0 comments
Article is closed for comments.