Note: This applies to DocuShare 6.5.x
To change the search page defaults the following two vdf files will need to be modified.
· dslib.vdf-for the Basic Search defaults
· SearchFormLib.vdf-for the Advanced Search Page
Note: You must be a Server Administrator to perform this solution.
Caution: Do NOT edit the original VDF files.
Note: Verify that you have a backup of the original file before modifying the copy, this will allow you to revert back to the original file if the changes do not produce the desired result. (Solution 1 & 2 steps a-d of the solution provide steps for creating a copy/backup of the original file)
Example:
To Change the Default Basic Search Results for Sort Order (Modify the dslib.vdf)
To modify the dslib.vdf file:
1. Open Windows Explorer and navigate into the \amber\templates\system directory.
2. Make a copy the dslib.vdf file.
3. Browse to the \amber\templates\local directory.
Where is the installation directory for DocuShare. The default installation path for DocuShare is C:\Xerox\Docushare. Depending on your installation environment this path may vary.
Note: If the \amber\templates\local directory does not exist then one will need to be created. All customized vdf files should be placed in the local directory.
4. Paste a copy of the dslib.vdf file into the \amber\templates\local directory.
Note: DocuShare will look for the local directory for customized VDFs before going to the (default) system folder
5. Open the dslib.vdf with a text editor such as Notepad.
6. Search for sort_results_query.
Example:
Note: The example provided below will change the default to display date in ascending order. Depending on your environment your customization preferences may vary.
a. The following entry should be displayed.
'sort_results_query')"/>
b. On the line below the sort_results_query entry use the cut edit function to remove the selected=â€selected†entry. (shown in red in the example below)
selected="selected">:rankedOrder" /> c. Paste the selected=â€selected†entry into the date_ascending line. selected="selected"> d. Save the file. e. Refresh the webpage. Note: In some instances a restart of DocuShare may be necessary to see the changes and/or checking the cache settings on the browser you are using (Example: Internet Explorer). To Change the Advanced Basic Search Results for Sort Order (Modify the SearchFormLib.vdf) To modify the SearchFormLib.vdf: 1. Open Windows Explorer and navigate into the \amber\templates\system directory. 2. Make a copy the SearchFormLib.vdf file. 3. Browse to the \amber\templates\local directory. Where is the installation directory for DocuShare. The default installation path for DocuShare is C:\Xerox\Docushare. Depending on your installation environment this path may vary. Note: If the \amber\templates\local directory does not exist then one will need to be created. All customized vdf files should be placed in the local directory. 4. Paste a copy of the SearchFormLib.vdf file into the \amber\templates\local directory. Note: DocuShare will look for the local directory for customized VDFs before going to the (default) system folder 5. Open the SearchFormLib.vdf with a text editor such as Notepad. 6. Search for sort_results_query. 'sort_results_query')"/> Example: Note: The example provided below will change the default to display date in ascending order. Depending on your environment your customization preferences may vary. a. Just below the sort_results_query entry find the rankOrder entry. (displayed in red in the example below)
rankOrder" />